$config = array(
'db_table' => 'example', //The name of the table associated with this controller
'form_setup' => $this->spyc->YAMLLOAD($this->codexadmin->getDefinitionFileName('example_form')), //The array that holds our elements
'controller_name' => 'Example', //The name of the controller, so that it can be used when generating the URLs
'primary_key' => 'my_id', //The name of the controller, so that it can be used when generating the URLs
'display_fields'=>array('textbox_test','checkbox_test','related2'),
'order_by' => 'textbox_test',
'order_type' => 'DESC',
'table_access_restrictions '=>array('textbox_test LIKE '=>"aaa %"),
'rules'=>$rules
);
$this->setConfig($config);