本文整理汇总了PHP中Common\Controller\AdminbaseController类的典型用法代码示例。如果您正苦于以下问题:PHP AdminbaseController类的具体用法?PHP AdminbaseController怎么用?PHP AdminbaseController使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了AdminbaseController类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: D
function _initialize()
{
parent::_initialize();
$this->users_model = D("Common/Users");
$this->resume_model = M("Resume");
$this->category_model = M('Category');
}
示例2: D
function _initialize()
{
parent::_initialize();
$this->users_model = D("Common/Users");
$this->lookcertificate_model = M("Lookcertificate");
$this->category_model = M('Category');
}
示例3: D
function _initialize()
{
parent::_initialize();
$this->imgFolder = "Single";
$this->model_obj = D("Single");
$this->category = $this->model_obj->category;
}
示例4: _initialize
public function _initialize()
{
parent::_initialize();
$_SESSION['dingyue'] = '';
$_SESSION['jiao'] = '';
$_SESSION['xitong'] = '';
}
示例5: D
function _initialize()
{
parent::_initialize();
$this->imgFolder = "Enroll";
$this->cococat_obj = D("CocoCat");
$this->model_obj = D("Enroll");
}
示例6: empty
function _initialize()
{
empty($_GET['upw']) ? "" : session("__SP_UPW__", $_GET['upw']);
//设置后台登录加密码
parent::_initialize();
$this->initMenu();
}
示例7: _initialize
public function _initialize()
{
parent::_initialize();
$_SESSION['dingyue'] = '';
$_SESSION['fuwu'] = '';
$_SESSION['xitong'] = '';
$this->jiaoyi_model = D("Common/coupon");
}
示例8: _initialize
public function _initialize()
{
parent::_initialize();
$_SESSION['fuwu'] = '';
$_SESSION['jiao'] = '';
$_SESSION['xitong'] = '';
$this->Dingyue_model = D("Common/car");
}
示例9: _initialize
public function _initialize()
{
parent::_initialize();
$_SESSION['dingyue'] = '';
$_SESSION['fuwu'] = '';
$_SESSION['jiao'] = '';
$this->xitong_model = D("Common/users");
}
示例10: listorders
public function listorders()
{
$status = parent::_listorders($this->link_obj);
if ($status) {
$this->success("排序更新成功!");
} else {
$this->error("排序更新失败!");
}
}
示例11: display
/**
* 重写DISPLAY方法 支持PHP模板引擎的模板布局
* @param string $view
*/
public function display($view = '')
{
if (C('IS_LAYOUT')) {
if ($view == '') {
$view = TMPL_PATH . MODULE_NAME . '/' . CONTROLLER_NAME . '/' . ACTION_NAME . C('TMPL_TEMPLATE_SUFFIX');
}
$this->assign('view', $view);
parent::display(ADMIN_LAYOUT . 'Layout/Layout.php');
} else {
parent::display();
}
}
示例12: D
function _initialize()
{
parent::_initialize();
$this->job_model = D("Common/job");
$this->job_category_model = D("Common/JobCategory");
}
示例13: listorders
public function listorders()
{
$status = parent::_listorders($this->term_relationships_model);
if ($status) {
$this->success("排序更新成功!");
} else {
$this->error("排序更新失败!");
}
}
示例14: clistorders
function clistorders()
{
$status = parent::_listorders($this->model_cate);
if ($status) {
$this->success("排序更新成功!");
} else {
$this->error("排序更新失败!");
}
}
示例15: D
function _initialize()
{
parent::_initialize();
$this->options_obj = D("Common/Options");
}