Пример #1
0
 public function __construct(&$app)
 {
     $this->app = $app;
     parent::__construct($app);
     parent::delete(array('product_id' => 0));
     //临时处理  莫名出现空数据 未查到原因
 }
Пример #2
0
 function __construct($app)
 {
     parent::__construct($app);
     $db = app::get('system')->database();
     $db->exec('set SESSION autocommit=1;');
     $db->exec('set @msgID = -1;');
 }
Пример #3
0
 public function __construct($app)
 {
     parent::__construct($app);
     $this->use_meta();
     // foreach($this->getList() as $item){
     //     $item['ordernum'] = 30;
     //     $this->save($item);
     // }
 }
Пример #4
0
 public function __construct($app)
 {
     parent::__construct($app);
     $this->dir = $this->dir_name();
 }
Пример #5
0
 function __construct($app)
 {
     parent::__construct($app);
     //使用meta系统进行存储
     $this->use_meta();
 }
Пример #6
0
 function __construct($app)
 {
     parent::__construct($app);
 }
Пример #7
0
 function __construct(&$app)
 {
     parent::__construct($app);
     $this->oMath = kernel::single('ectools_math');
 }
Пример #8
0
 function __construct(&$app)
 {
     $this->app = $app;
     parent::__construct($app);
 }
Пример #9
0
 /**
  * 构造方法
  * @param object model相应app的对象
  * @return null
  */
 public function __construct($app)
 {
     parent::__construct($app);
     $this->propValuesModel = app::get('sysspfb')->model('prop_values');
 }
Пример #10
0
 function __construct($app)
 {
     parent::__construct($app);
     $this->use_meta();
     //member中的扩展属性将通过meta系统进行存储
 }
Пример #11
0
Файл: cat.php Проект: noikiy/snk
 /**
  * 构造方法
  * @param object model相应app的对象
  * @return null
  */
 public function __construct($app)
 {
     parent::__construct($app);
     $this->use_meta();
 }
Пример #12
0
 function __construct(&$app)
 {
     parent::__construct($app);
     $this->schema['columns']['status'] = array('type' => 'string');
 }