本文整理汇总了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());
}
示例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);
}
示例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');
}
示例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();
}
示例5:
function __construct()
{
parent::control();
$this->popedom = appfile_popedom("usergroup");
$this->assign("popedom", $this->popedom);
$this->lib('form')->cssjs();
}
示例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']);
}
示例7:
function __construct()
{
parent::control();
$this->model("user");
$this->model("usergroup");
$this->popedom = appfile_popedom("user");
$this->assign("popedom", $this->popedom);
}
示例8:
function __construct()
{
parent::control();
$this->model("sysmenu");
$this->popedom = appfile_popedom("system");
$this->assign("popedom", $this->popedom);
$this->model("popedom");
}
示例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';
}
}
示例10:
function __construct()
{
parent::control();
$this->model("res");
$this->model("gd");
$this->lib("file");
$this->lib("json");
$this->lib("trans");
}
示例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;
}
示例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;
}
示例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");
}
}
示例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);
}
示例15:
function __construct()
{
parent::control();
}