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


PHP phpok_control类代码示例

本文整理汇总了PHP中phpok_control的典型用法代码示例。如果您正苦于以下问题:PHP phpok_control类的具体用法?PHP phpok_control怎么用?PHP phpok_control使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了phpok_control类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 public function __construct()
 {
     parent::control();
     $this->assign("form_list", $this->model('form')->form_all());
     $this->assign("field_list", $this->model('form')->field_all());
     $this->assign("format_list", $this->model('form')->format_all());
 }
开发者ID:joyerma,项目名称:yongzhuo,代码行数:7,代码来源:ext_control.php

示例2: __construct

 public function __construct()
 {
     parent::control();
     $list = array("arclist" => P_Lang('文章列表'), "arc" => P_Lang('文章内容'), "cate" => P_Lang('分类信息'), "catelist" => P_Lang('分类树'), "project" => P_Lang('项目信息'), "sublist" => P_Lang('子项目信息'), "parent" => P_Lang('上级项目'), "fields" => P_Lang('字段及表单'));
     $this->phpok_type_list = $list;
     $this->assign("phpok_type_list", $list);
 }
开发者ID:joyerma,项目名称:yongzhuo,代码行数:7,代码来源:call_control.php

示例3: __construct

 public function __construct()
 {
     parent::control();
     $this->mlist = get_class_methods($this);
     $this->model('project')->site_id($this->site['id']);
     $this->lib('form')->appid('www');
 }
开发者ID:renlong567,项目名称:43168,代码行数:7,代码来源:phpok_call.php

示例4:

 function __construct()
 {
     parent::control();
     $this->form_list = $this->model("form")->form_list();
     $this->field_list = $this->model("form")->field_list();
     $this->format_list = $this->model("form")->format_list();
 }
开发者ID:renlong567,项目名称:43168,代码行数:7,代码来源:inp_control.php

示例5:

 function __construct()
 {
     parent::control();
     $this->popedom = appfile_popedom("usergroup");
     $this->assign("popedom", $this->popedom);
     $this->lib('form')->cssjs();
 }
开发者ID:renlong567,项目名称:43168,代码行数:7,代码来源:usergroup_control.php

示例6: __construct

 public function __construct()
 {
     parent::control();
     $this->popedom = appfile_popedom("tag");
     $this->assign("popedom", $this->popedom);
     $this->model('tag')->site_id($_SESSION['admin_site_id']);
 }
开发者ID:renlong567,项目名称:43168,代码行数:7,代码来源:tag_control.php

示例7:

 function __construct()
 {
     parent::control();
     $this->model("user");
     $this->model("usergroup");
     $this->popedom = appfile_popedom("user");
     $this->assign("popedom", $this->popedom);
 }
开发者ID:renlong567,项目名称:43168,代码行数:8,代码来源:user_control.php

示例8:

 function __construct()
 {
     parent::control();
     $this->model("sysmenu");
     $this->popedom = appfile_popedom("system");
     $this->assign("popedom", $this->popedom);
     $this->model("popedom");
 }
开发者ID:renlong567,项目名称:43168,代码行数:8,代码来源:system_control.php

示例9: __construct

 public function __construct()
 {
     parent::control();
     $this->obj = $this->_object();
     if (file_exists($this->dir_phpok . 'www/global.func.php')) {
         include_once $this->dir_phpok . 'www/global.func.php';
     }
 }
开发者ID:renlong567,项目名称:43168,代码行数:8,代码来源:html_control.php

示例10:

 function __construct()
 {
     parent::control();
     $this->model("res");
     $this->model("gd");
     $this->lib("file");
     $this->lib("json");
     $this->lib("trans");
 }
开发者ID:renlong567,项目名称:43168,代码行数:9,代码来源:upload_control.php

示例11: error

 function __construct()
 {
     parent::control();
     //判断是否有读权限
     $groupid = $this->model('usergroup')->group_id($_SESSION['user_id']);
     if (!$groupid) {
         error(P_Lang('无法获取前端用户组信息'), '', 'error');
     }
     $this->user_groupid = $groupid;
 }
开发者ID:renlong567,项目名称:43168,代码行数:10,代码来源:project_control.php

示例12: __construct

 public function __construct()
 {
     parent::control();
     $this->model('popedom')->siteid($this->site['id']);
     $groupid = $this->model('usergroup')->group_id($_SESSION['user_id']);
     if (!$groupid) {
         $this->json(P_Lang('无法获取前端用户组信息'));
     }
     $this->user_groupid = $groupid;
 }
开发者ID:renlong567,项目名称:43168,代码行数:10,代码来源:post_control.php

示例13: __construct

 public function __construct()
 {
     parent::control();
     if (!$_SESSION["user_id"]) {
         error(P_Lang('未登录会员不能执行此操作'), $this->url, "error");
     }
     $this->group_rs = $this->model('usergroup')->group_rs($_SESSION['user_id']);
     if (!$this->group_rs) {
         error(P_Lang('您的账号有异常:无法获取相应的会员组信息,请联系管理员'), '', "error");
     }
 }
开发者ID:renlong567,项目名称:43168,代码行数:11,代码来源:usercp_control.php

示例14:

 function __construct()
 {
     parent::control();
     $this->form_list = $this->model('form')->form_all();
     $this->field_list = $this->model('form')->field_all();
     $this->format_list = $this->model('form')->format_all();
     $this->assign('form_list', $this->form_list);
     $this->assign("field_list", $this->field_list);
     $this->assign("format_list", $this->format_list);
     $this->popedom = appfile_popedom("module");
     $this->assign("popedom", $this->popedom);
 }
开发者ID:renlong567,项目名称:43168,代码行数:12,代码来源:module_control.php

示例15:

 function __construct()
 {
     parent::control();
 }
开发者ID:joyerma,项目名称:yongzhuo,代码行数:4,代码来源:tag_control.php


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