Search Results for 'groups'



ORM v0.2

Zmiany

Dodane Left/Inner/Right Joiny

Todo

Przy joinach, odnoszenie się do wartości jak po drzewie obiektów (tak jak w oryginalnym ORM chmola), przykład poniżej

$mapper->InnerJoin(’user_to_group’); // relacja 1:1
$user = $mapper->FindById(4);
echo $user->group->name;
$mapper->InnerJoin(’user_to_groups’); // relacja 1:*
$user = $mapper->FindById(4);
echo $user->groups[0]->name;
echo $user->groups[1]->name;
echo $user->groups[2]->name;

orm.class.php
test.php
orm.sql





About

You have searched the Vee Diary weblog archives for 'groups'. If you are unable to find anything in these search results, you can try one of the following sections.

Longer entries are truncated. Click the headline of an entry to read it in its entirety.

Latest

RSS

Archives

Categories