예제 #1
0
 /**
  * Construct
  *
  * @param integer $id
  * @param null $module
  */
 public function __construct($id, $module = null)
 {
     parent::__construct($id, $module);
     $this->catalog_config = CatalogConfig::model()->findByPk(1);
 }
예제 #2
0
 public function __construct($id, $module = null)
 {
     parent::__construct($id, $module);
     // загружаем конфигурацию каталога
     $this->catalog_config = CatalogConfig::model()->findByPk(1);
 }
예제 #3
0
 public function __construct($id, $module = null)
 {
     parent::__construct($id, $module);
     $this->reviews_config = ReviewsConfig::model()->findByPk(1);
 }