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