public function __construct($args) { parent::__construct($args); // mark all properties as protected (except first - id) $all = array_flip(array_keys($this->_props)); unset($all['id']); unset($all['version']); $this->_propSetProtected(array_keys($all)); }
/** * Constructor */ public function __construct($args) { $this->_brick2field = qw2('category>category_id period>period_type detail>detail_type'); parent::__construct($args); $this->_invisible = $this->_mapper->_loadCollection('hide', $this); $this->_grouping = $this->_mapper->_loadCollection('group', $this); if (!$this->_existsInDb()) { $this->setAutoGroup('top10'); } else { $this->setAutoGroup(); } }
public function __construct($args) { parent::__construct($args); $this->_initState($this->state); }
/** * Enter description here... * * @param array $args * @return void */ public function __construct($args) { parent::__construct($args); $this->_initTypeProps(); }
/** * Enter description here... * */ public function __construct($args) { parent::__construct($args); $this->_initItems(); $this->_countCartTotal(); }
/** * Description... * * @return void **/ public function __construct($args) { parent::__construct($args); $this->_value = M('ReportValue')->loadObjectById($this->value_id); }
/** * Constructor */ public function __construct($args) { parent::__construct($args); }