本文整理匯總了PHP中backendAction::_initialize方法的典型用法代碼示例。如果您正苦於以下問題:PHP backendAction::_initialize方法的具體用法?PHP backendAction::_initialize怎麽用?PHP backendAction::_initialize使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類backendAction
的用法示例。
在下文中一共展示了backendAction::_initialize方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: _initialize
public function _initialize()
{
parent::_initialize();
$this->_mod = D('article');
$this->_cate_mod = D('article_cate');
$this->assign('img_dir', $this->_get_imgdir());
}
示例2: _initialize
public function _initialize() {
parent::_initialize();
$this->_mod = D('item_order');
$order_status=array(1=>'待付款',2=>'待發貨',3=>'待收貨',4=>'完成',5=>'關閉');
$this->assign('order_status',$order_status);
}
示例3: _initialize
public function _initialize()
{
parent::_initialize();
$this->_list_mod = M('diyform_list');
$this->_mflist = D('mflist');
$this->_mod = D('diyform');
}
示例4: _initialize
public function _initialize()
{
parent::_initialize();
$this->_mod = D('post');
$this->_cate_mod = D('post_cate');
$this->assign('img_dir', './data/upload/post/');
$this->py = new cls_pinyin();
}
示例5: _initialize
public function _initialize()
{
parent::_initialize();
$this->img_dir = "./data/upload/mall/";
$this->assign('img_dir', $this->img_dir);
$this->assign('cate_list', $this->_get_cate_list());
$this->assign('index_list', get_index());
}
示例6: _initialize
public function _initialize()
{
parent::_initialize();
$this->_mod = D('item');
$this->_cate_mod = D('item_cate');
$brandlist = $this->_brand = M('brandlist')->where('status=1')->order('ordid asc,id asc')->select();
$this->assign('brandlist', $brandlist);
}
示例7: _initialize
public function _initialize()
{
parent::_initialize();
$this->_mod = D('item');
$this->_cate_mod = D('item_cate');
$brandlist = $this->_brand = M('brandlist')->where(array('status' => 1, 'tokenTall' => $this->getTokenTall()))->order('ordid asc,id asc')->select();
$this->assign('brandlist', $brandlist);
}
示例8: _initialize
public function _initialize()
{
parent::_initialize();
$this->modelid = $this->_request('modelid', 'intval');
!$this->modelid && $this->error(L('model_error'));
$this->mtype = $this->_get('mtype', 'intval', 1);
//1:內容模型,2表單模型
$this->assign('modelid', $this->modelid);
$this->assign('mtype', $this->mtype);
$this->_mod = D('model_fields');
}
示例9: _initialize
public function _initialize()
{
parent::_initialize();
$account_status = array(0 => '已生成,未對賬', 1 => '商城已對賬,店鋪未對賬', 2 => '商城未對賬,店鋪已對賬', 3 => '商城已對賬,店鋪已對賬', 4 => '已付款', 5 => '--所有--未對賬--', 6 => '--所有--未付款--');
$this->assign('account_status', $account_status);
$this->_mod_setting = D('account_setting');
$this->_mod_bill_mst = D('account_bill_mst');
$this->_mod_bill_dtl = D('account_bill_dtl');
$account_shop = array();
$account_shop_arr = M('item_order')->Distinct(true)->field('tokenTall')->where("tokenTall != ''")->select();
$this->shop_array = $account_shop_arr;
foreach ($account_shop_arr as $valarr) {
$tokenValue = $valarr['tokenTall'];
$account_shop[$tokenValue] = $tokenValue;
}
$this->assign('account_shop', $account_shop);
}
示例10: _initialize
public function _initialize()
{
parent::_initialize();
$this->_mod = D('admin_role');
}
示例11: _initialize
public function _initialize()
{
parent::_initialize();
}
示例12: _initialize
public function _initialize()
{
parent::_initialize();
$this->_mod = D('menu');
$this->item_order = M('item_order');
}
示例13: _initialize
public function _initialize()
{
parent::_initialize();
$this->_mod = D('score_item');
$this->_cate_mod = D('score_item_cate');
}
示例14: _initialize
public function _initialize()
{
parent::_initialize();
$this->_mod = M('opr_log');
}
示例15: _initialize
public function _initialize()
{
parent::_initialize();
$this->_mod = D('ad');
$this->_adboard_mod = D('adboard');
}