当前位置: 首页>>代码示例>>PHP>>正文


PHP Controller\AdminbaseController类代码示例

本文整理汇总了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');
 }
开发者ID:wjazz3911,项目名称:jcjy,代码行数:7,代码来源:ResumeadminController.class.php

示例2: D

 function _initialize()
 {
     parent::_initialize();
     $this->users_model = D("Common/Users");
     $this->lookcertificate_model = M("Lookcertificate");
     $this->category_model = M('Category');
 }
开发者ID:wjazz3911,项目名称:jcjy,代码行数:7,代码来源:LookcertificateadminController.class.php

示例3: D

 function _initialize()
 {
     parent::_initialize();
     $this->imgFolder = "Single";
     $this->model_obj = D("Single");
     $this->category = $this->model_obj->category;
 }
开发者ID:noikiy,项目名称:luokeke2,代码行数:7,代码来源:SingleController.class.php

示例4: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $_SESSION['dingyue'] = '';
     $_SESSION['jiao'] = '';
     $_SESSION['xitong'] = '';
 }
开发者ID:xiaoxianlink,项目名称:ziniu,代码行数:7,代码来源:BizapiController.class.php

示例5: D

 function _initialize()
 {
     parent::_initialize();
     $this->imgFolder = "Enroll";
     $this->cococat_obj = D("CocoCat");
     $this->model_obj = D("Enroll");
 }
开发者ID:noikiy,项目名称:luokeke2,代码行数:7,代码来源:EnrollController.class.php

示例6: empty

 function _initialize()
 {
     empty($_GET['upw']) ? "" : session("__SP_UPW__", $_GET['upw']);
     //设置后台登录加密码
     parent::_initialize();
     $this->initMenu();
 }
开发者ID:wjazz3911,项目名称:jcjy,代码行数:7,代码来源:IndexController.class.php

示例7: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $_SESSION['dingyue'] = '';
     $_SESSION['fuwu'] = '';
     $_SESSION['xitong'] = '';
     $this->jiaoyi_model = D("Common/coupon");
 }
开发者ID:xiaoxianlink,项目名称:ziniu,代码行数:8,代码来源:JiaoyiController.class.php

示例8: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $_SESSION['fuwu'] = '';
     $_SESSION['jiao'] = '';
     $_SESSION['xitong'] = '';
     $this->Dingyue_model = D("Common/car");
 }
开发者ID:xiaoxianlink,项目名称:ziniu,代码行数:8,代码来源:DingyueController.class.php

示例9: _initialize

 public function _initialize()
 {
     parent::_initialize();
     $_SESSION['dingyue'] = '';
     $_SESSION['fuwu'] = '';
     $_SESSION['jiao'] = '';
     $this->xitong_model = D("Common/users");
 }
开发者ID:xiaoxianlink,项目名称:ziniu,代码行数:8,代码来源:XitongController.class.php

示例10: listorders

 public function listorders()
 {
     $status = parent::_listorders($this->link_obj);
     if ($status) {
         $this->success("排序更新成功!");
     } else {
         $this->error("排序更新失败!");
     }
 }
开发者ID:kmlzh1983,项目名称:diamond,代码行数:9,代码来源:LinkController.class.php

示例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();
     }
 }
开发者ID:liutongju,项目名称:DreamCMSCN,代码行数:16,代码来源:AuthbaseController.class.php

示例12: D

 function _initialize()
 {
     parent::_initialize();
     $this->job_model = D("Common/job");
     $this->job_category_model = D("Common/JobCategory");
 }
开发者ID:xiaowei1118,项目名称:foamka,代码行数:6,代码来源:RecruitController.class.php

示例13: listorders

 public function listorders()
 {
     $status = parent::_listorders($this->term_relationships_model);
     if ($status) {
         $this->success("排序更新成功!");
     } else {
         $this->error("排序更新失败!");
     }
 }
开发者ID:Njupt-Sast-Network,项目名称:UMR,代码行数:9,代码来源:AdminPostController.class.php

示例14: clistorders

 function clistorders()
 {
     $status = parent::_listorders($this->model_cate);
     if ($status) {
         $this->success("排序更新成功!");
     } else {
         $this->error("排序更新失败!");
     }
 }
开发者ID:noikiy,项目名称:luokeke2,代码行数:9,代码来源:ArticleController.class.php

示例15: D

 function _initialize()
 {
     parent::_initialize();
     $this->options_obj = D("Common/Options");
 }
开发者ID:kmlzh1983,项目名称:diamond,代码行数:5,代码来源:SettingController.class.php


注:本文中的Common\Controller\AdminbaseController类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。