예제 #1
0
파일: ref.php 프로젝트: syjzwjj/quyeba
 public function __construct(&$app)
 {
     $this->app = $app;
     parent::__construct($app);
     parent::delete(array('product_id' => 0));
     //临时处理  莫名出现空数据 未查到原因
 }
예제 #2
0
파일: mysql.php 프로젝트: 453111208/bbc
 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
파일: tag.php 프로젝트: syjzwjj/quyeba
 function __construct($app)
 {
     parent::__construct($app);
     //使用meta系统进行存储
     $this->use_meta();
 }
예제 #6
0
파일: rate.php 프로젝트: sss201413/ecstore
 function __construct($app)
 {
     parent::__construct($app);
 }
예제 #7
0
 function __construct(&$app)
 {
     parent::__construct($app);
     $this->oMath = kernel::single('ectools_math');
 }
예제 #8
0
파일: msg.php 프로젝트: syjzwjj/quyeba
 function __construct(&$app)
 {
     $this->app = $app;
     parent::__construct($app);
 }
예제 #9
0
파일: props.php 프로젝트: 453111208/bbc
 /**
  * 构造方法
  * @param object model相应app的对象
  * @return null
  */
 public function __construct($app)
 {
     parent::__construct($app);
     $this->propValuesModel = app::get('sysspfb')->model('prop_values');
 }
예제 #10
0
파일: members.php 프로젝트: syjzwjj/quyeba
 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
파일: item.php 프로젝트: 453111208/bbc
 function __construct(&$app)
 {
     parent::__construct($app);
     $this->schema['columns']['status'] = array('type' => 'string');
 }