本文整理汇总了PHP中AdminAction::_initialize方法的典型用法代码示例。如果您正苦于以下问题:PHP AdminAction::_initialize方法的具体用法?PHP AdminAction::_initialize怎么用?PHP AdminAction::_initialize使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类AdminAction
的用法示例。
在下文中一共展示了AdminAction::_initialize方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _initialize
public function _initialize()
{
parent::_initialize();
C('TMPL_FILE_NAME', './views/tools/..');
//模板目录
$this->DCModel = D('Admin.Datacheck');
}
示例2: _initialize
public function _initialize()
{
parent::_initialize();
$this->VideoDB = D('Admin.Video');
$this->UserVDB = D('Admin.Userview');
$this->CommDB = D('Admin.Comment');
}
示例3: _initialize
public function _initialize()
{
parent::_initialize();
//RBAC 验证接口初始化
Vendor('Common.Tree');
//导入通用树型类
}
示例4: _initialize
public function _initialize()
{
parent::_initialize();
$this->SpecDB = D('Admin.Special');
$this->VideoDB = D('Admin.Video');
$this->InfoDB = D('Admin.Info');
}
示例5: _initialize
public function _initialize()
{
parent::_initialize();
$this->assign($this->tags_style());
$this->VideoDB = D('Home.Video');
$this->InfoDB = D('Home.Info');
}
示例6: _initialize
public function _initialize()
{
parent::_initialize();
C('TMPL_FILE_NAME', './views/collection/..');
$this->CModel = D('Admin.CustomCollect');
$this->RModel = D('Admin.ColRun');
}
示例7: _initialize
public function _initialize()
{
parent::_initialize();
$this->UserDB = D('Admin.User');
$this->UserVDB = D('Admin.Userview');
$this->GbookDB = D('Admin.Gbook');
$this->CommDB = D('Admin.Comment');
}
示例8: header
function _initialize()
{
parent::_initialize();
//RBAC 验证接口初始化
header("Content-type: text/html;charset=utf-8");
set_time_limit(0);
//不超时
ini_set('memory_limit', '512M');
$this->config = array('path' => C('DB_BACKUP'), 'isCompress' => 0, 'isDownload' => 0);
$this->dbName = C('DB_NAME');
//当前数据库名称
$this->model = new Model();
//$sql = 'set interactive_timeout=24*3600'; //空闲多少秒后 断开链接
//$this->model>execute($sql);
}
示例9: _initialize
public function _initialize()
{
parent::_initialize();
$this->file_path = HCMS_PATH . 'Lib' . DIRECTORY_SEPARATOR . 'Common' . DIRECTORY_SEPARATOR . 'Payment' . DIRECTORY_SEPARATOR;
$this->payment = new Payment($this->file_path);
}
示例10: _initialize
public function _initialize()
{
parent::_initialize();
$this->file_path = HCMS_PATH . 'Lib' . DIRECTORY_SEPARATOR . 'Common' . DIRECTORY_SEPARATOR . 'Oauth' . DIRECTORY_SEPARATOR;
$this->oauth = new Oauth($this->file_path);
}
示例11: _initialize
public function _initialize()
{
parent::_initialize();
$this->SelfDB = D('Admin.Self');
}
示例12: _initialize
public function _initialize()
{
parent::_initialize();
$this->InfoDB = D('Admin.Info');
}
示例13: _initialize
public function _initialize()
{
parent::_initialize();
$this->name = $this->_name;
}
示例14: _initialize
public function _initialize()
{
parent::_initialize();
$this->UserVDB = D('Admin.Userview');
}
示例15: _initialize
public function _initialize()
{
parent::_initialize();
$this->MasterDB = D('Admin.Master');
}