/** * Constructor * Set up the model and fulltext searchfields * @return void */ public function __construct() { // first set up the model $this->setCfg('model_path', 'MODEL'); $this->setCfg('model', 'ValueSqlItem'); // then call parent constructor to get tablefields parent::__construct(); }
/** * Constructor * Set up the model and fulltext searchfields * @return void */ public function __construct() { // first set up the model $this->setCfg('model_path', 'MODEL'); $this->setCfg('model', 'LogSqlItem'); // then call parent constructor to get tablefields parent::__construct(); // set fulltextsearchfields afterwards $this->setCfg('fulltextsearchfileds', array('param')); }
/** * Constructor * Set up the model and fulltext searchfields * @return void */ public function __construct() { // first set up the model $this->setCfg('model_path', 'MODEL'); $this->setCfg('model', 'DirectorySqlItem'); // set perms //$this->setCfg('perm_check_active', TRUE); $this->setCfg('perm_type', 'directory'); $this->setCfg('perm_nr', '1'); $this->setCfg('perm_dbfield_id', 'iddirectory'); // then call parent constructor to get tablefields parent::__construct(); // set fulltextsearchfields afterwards $this->setCfg('fulltextsearchfileds', array($this->tables[0] . '.name', $this->tables[1] . '.description')); }