Jump to content


Labor

Member Since 02 May 2012
Offline Last Active Jun 20 2012 06:59 PM
-----

Topics I've Started

n2n keys editor

02 May 2012 - 04:27 AM

Posted Image

Sorry but it based on v.1.1.7

You can use it like:

...


$this->crud->set_relation('accessId','access','controlleraction');
$this->crud->set_relation('languageId','languages','language');
$this->crud->isKeyNTON(array('topKey' => 'languageId', 'leftKey' => 'accessId'),
array('table' => 'languages', 'key' => 'id', 'value' => 'language'),
array('table' => 'access', 'key' => 'id', 'value' => 'controlleraction'));
...
Download here
P.S.: sorry for my english :)