Exemple #1
0
 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));
 }
Exemple #2
0
 /**
  * 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();
     }
 }
Exemple #3
0
 public function __construct($args)
 {
     parent::__construct($args);
     $this->_initState($this->state);
 }
Exemple #4
0
 /**
  * Enter description here...
  *
  * @param array $args
  * @return void
  */
 public function __construct($args)
 {
     parent::__construct($args);
     $this->_initTypeProps();
 }
Exemple #5
0
 /**
  * Enter description here...
  *
  */
 public function __construct($args)
 {
     parent::__construct($args);
     $this->_initItems();
     $this->_countCartTotal();
 }
Exemple #6
0
 /**
  *	Description...
  *
  *	@return void
  **/
 public function __construct($args)
 {
     parent::__construct($args);
     $this->_value = M('ReportValue')->loadObjectById($this->value_id);
 }
Exemple #7
0
 /**
  * Constructor
  */
 public function __construct($args)
 {
     parent::__construct($args);
 }