當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。