示例#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
 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
 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');
 }