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