/** * select_builder() * * Set "text" and "values" attributes based on instance's 'build' attribute * * @param array $options The options array from this instance (destructive) * * @return void **/ private function select_builder(&$options) { $options['text'] = NORM::all($options['build'][0], $options['build'][1]); if (isset($options['build'][2])) { $options['values'] = NORM::all($options['build'][0], $options['build'][2]); } }
public function __construct() { parent::__construct(array('table_name' => 'test_author')); $this->has_many('books'); }
public function __construct() { parent::__construct(); $this->has_many('photos', array('order_by' => 'position')); }
public function __construct() { parent::__construct(); }
public function __construct() { parent::__construct(); $this->belongs_to('category', array('class' => 'CmsCategory')); }
function __construct() { parent::__construct(array('table_name' => 'contact')); }
public function __construct() { parent::__construct(); $this->config->ignore[] = 'role'; }
public function __construct() { parent::__construct(); $this->belongs_to('project'); }
public function __construct() { parent::__construct(array('table_name' => 'test_norm_account')); $this->belongs_to('author'); }