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


PHP adminbase类代码示例

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


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

示例1: control

 function control()
 {
     parent::__construct();
     $this->check_priv();
     $this->load('mail');
     $this->check_priv();
 }
开发者ID:BGCX067,项目名称:f2cont-svn-to-git,代码行数:7,代码来源:mail.php

示例2: control

 function control()
 {
     parent::__construct();
     $this->check_priv();
     if (!$this->user['isfounder'] && !$this->user['allowadmincredits']) {
         $this->message('no_permission_for_this_module');
     }
 }
开发者ID:lemonstory,项目名称:bbs,代码行数:8,代码来源:credit.php

示例3: control

 function control()
 {
     parent::__construct();
     if (getgpc('m') != 'user' && getgpc('a') != 'login' && getgpc('a') != 'logout') {
         if (!$this->user['isfounder'] && !$this->user['allowadminuser']) {
             $this->message('no_permission_for_this_module');
         }
     }
     $this->load('user');
 }
开发者ID:h3len,项目名称:Project,代码行数:10,代码来源:user.php

示例4: control

 function control()
 {
     parent::__construct();
     if (!$this->user['isfounder'] && !$this->user['allowadminnote']) {
         $this->message('no_permission_for_this_module');
     }
     $this->load('feed');
     $this->load('misc');
     $this->apps = $this->cache['apps'];
     $this->check_priv();
 }
开发者ID:softhui,项目名称:discuz,代码行数:11,代码来源:feed.php

示例5: control

 function control()
 {
     parent::__construct();
     $this->check_priv();
     if (!$this->user['isfounder'] && !$this->user['allowadminbadword']) {
         $this->message('no_permission_for_this_module');
     }
     /*引入接口文件,并初始化*/
     require_once ROOT_PATH . "lib/class/uset.class.php";
     $this->mUset = new uset();
 }
开发者ID:h3len,项目名称:Project,代码行数:11,代码来源:uset.php

示例6: control

 function control()
 {
     parent::__construct();
     $this->check_priv();
     if (!$this->user['isfounder'] && !$this->user['allowadminbadword']) {
         $this->message('no_permission_for_this_module');
     }
     require ROOT_DIR . 'lib/class/credit.class.php';
     $this->mCredit = new credit();
     //$this->load('credit');
 }
开发者ID:h3len,项目名称:Project,代码行数:11,代码来源:credit.php

示例7: control

 function control()
 {
     parent::__construct();
     if ($_GET['a'] != 'login' && $_GET['a'] != 'logout') {
         $this->check_priv();
         if (!$this->user['isfounder'] && !$this->user['allowadminuser']) {
             $this->message('no_permission_for_this_module');
         }
     }
     $this->load('user');
 }
开发者ID:cwcw,项目名称:cms,代码行数:11,代码来源:user.php

示例8: control

 function control()
 {
     parent::__construct();
     $this->check_priv();
     if (!$this->user['isfounder'] && !$this->user['allowadminnote']) {
         $this->message('no_permission_for_this_module');
     }
     $this->load('note');
     $this->apps = $this->cache['apps'];
     $this->operations = array('test' => array('', 'action=test'), 'deleteuser' => array('', 'action=deleteuser'), 'renameuser' => array('', 'action=renameuser'), 'deletefriend' => array('', 'action=deletefriend'), 'gettag' => array('', 'action=gettag', 'tag', 'updatedata'), 'getcreditsettings' => array('', 'action=getcreditsettings'), 'updatecreditsettings' => array('', 'action=updatecreditsettings'), 'updateclient' => array('', 'action=updateclient'), 'updatepw' => array('', 'action=updatepw'), 'updatebadwords' => array('', 'action=updatebadwords'), 'updatehosts' => array('', 'action=updatehosts'), 'updateapps' => array('', 'action=updateapps'), 'updatecredit' => array('', 'action=updatecredit'));
     $this->check_priv();
 }
开发者ID:tanxiniao,项目名称:bce,代码行数:12,代码来源:note.php

示例9: control

 function control()
 {
     parent::__construct();
     /*
     	$this->check_priv();
     	if(!$this->user['isfounder'] && !$this->user['allowadminapp']) {
     		$this->message('no_permission_for_this_module');
     	}
     */
     $this->load('app');
     $this->load('misc');
 }
开发者ID:h3len,项目名称:Project,代码行数:12,代码来源:hg_app.php

示例10: pluginbase

 function pluginbase()
 {
     parent::__construct();
     $this->check_priv();
     if (!$this->user['isfounder']) {
         $this->message('no_permission_for_this_module');
     }
     $a = getgpc('a');
     $this->load('plugin');
     $this->plugin = $_ENV['plugin']->get_plugin($a);
     $this->plugins = $_ENV['plugin']->get_plugins();
     if (empty($this->plugin)) {
         $this->message('read_plugin_invalid');
     }
     $this->view->assign('plugin', $this->plugin);
     $this->view->assign('plugins', $this->plugins);
     $this->view->languages = $this->plugin['lang'];
     $this->view->tpldir = UC_ROOT . './plugin/' . $a;
     $this->view->objdir = UC_DATADIR . './view';
 }
开发者ID:BGCX067,项目名称:f2cont-svn-to-git,代码行数:20,代码来源:plugin.php

示例11: control

 function control()
 {
     parent::__construct();
 }
开发者ID:BGCX067,项目名称:f2cont-svn-to-git,代码行数:4,代码来源:frame.php


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