當前位置: 首頁>>代碼示例>>PHP>>正文


PHP phpok_control::control方法代碼示例

本文整理匯總了PHP中phpok_control::control方法的典型用法代碼示例。如果您正苦於以下問題:PHP phpok_control::control方法的具體用法?PHP phpok_control::control怎麽用?PHP phpok_control::control使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在phpok_control的用法示例。


在下文中一共展示了phpok_control::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::control方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。