PHP Classes

File: tests/theodore.php

Recommend this page to a friend!
  Classes of Ali YILMAZ  >  Mind Framework  >  tests/theodore.php  >  Download  
File: tests/theodore.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Mind Framework
Framework that implements several design patterns
Author: By
Last change:
Date: 2 months ago
Size: 677 bytes
 

Contents

Class file image Download
<?php

require_once '../src/Mind.php';

$Mind = new Mind();

// Array
// (
// [group_id] => 10
// )
// echo '<pre>';
// print_r($Mind->theodore('permission', array('user_id'=>15), 'group_id'));
// echo '</pre>';

// Array
// (
// [id] => 208
// [group_id] => 10
// )
// echo '<pre>';
// print_r($Mind->theodore('permission', array('user_id'=>15), array('id', 'group_id')));
// echo '</pre>';

// Array
// (
// [id] => 208
// [user_id] => 15
// [group_id] => 10
// [_token] =>
// [status] =>
// [created_at] =>
// [updated_at] =>
// )
// echo '<pre>';
// print_r($Mind->theodore('permission', array('user_id'=>15)));
// echo '</pre>';

For more information send a message to info at phpclasses dot org.