本文整理汇总了PHP中adminBase::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP adminBase::__construct方法的具体用法?PHP adminBase::__construct怎么用?PHP adminBase::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类adminBase
的用法示例。
在下文中一共展示了adminBase::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
function __construct()
{
parent::__construct();
if ($this->user['group_type'] > MAX_ADMIN_TYPE) {
//$this->errorOutput(NO_PRIVILEGE);
}
}
示例2: __construct
public function __construct()
{
parent::__construct();
include CUR_CONF_PATH . 'lib/common.php';
include CUR_CONF_PATH . 'lib/layout.class.php';
$this->layout = new layout();
}
示例3: __construct
/**
* 构造函数
* @author repheal
* @category hogesoft
* @copyright hogesoft
* @include site.class.php
*/
public function __construct()
{
parent::__construct();
include_once CUR_CONF_PATH . 'lib/mkpublish.class.php';
$this->obj = new mkpublish();
include_once CUR_CONF_PATH . 'lib/common.php';
}
示例4: __construct
/**
* 构造函数
* @author repheal
* @category hogesoft
* @copyright hogesoft
* @include site.class.php
*/
public function __construct()
{
parent::__construct();
$this->pub_config = new publishconfig();
include CUR_CONF_PATH . 'lib/content.class.php';
$this->obj = new content();
}
示例5: __construct
public function __construct()
{
parent::__construct();
if (!$this->curl) {
return array();
}
}
示例6: __construct
/**
* 构造函数
* @author repheal
* @category hogesoft
* @copyright hogesoft
* @include news.class.php
*/
public function __construct()
{
$this->mPrmsMethods = array('manage' => '管理');
parent::__construct();
include CUR_CONF_PATH . 'lib/statistics.class.php';
$this->obj = new statistics();
}
示例7: __construct
/**
* 构造函数
* @author repheal
* @category hogesoft
* @copyright hogesoft
* @include news.class.php
*/
public function __construct()
{
parent::__construct();
include CUR_CONF_PATH . 'lib/data_source.class.php';
include CUR_CONF_PATH . 'lib/common.php';
$this->obj = new dataSource();
}
示例8: user
function __construct()
{
parent::__construct();
global $config;
$this->config = $config;
include_once ROOT_PATH . 'lib/user/user.class.php';
$this->mUser = new user();
}
示例9: news
function __construct()
{
parent::__construct();
include CUR_CONF_PATH . 'lib/news.class.php';
$this->obj = new news();
include_once ROOT_PATH . 'lib/class/material.class.php';
$this->mater = new material();
}
示例10:
function __construct()
{
parent::__construct();
global $config;
include ROOT_DIR . 'api/video/video_api.php';
//导入流媒体API
$this->tvie_video_api = new TVie_video_api($config);
}
示例11: __construct
public function __construct()
{
parent::__construct();
include_once CUR_CONF_PATH . 'lib/xml_setting.class.php';
include_once CUR_CONF_PATH . 'lib/source_setting.class.php';
$this->obj = new xmlSetting();
$this->source_obj = new sourceSetting();
}
示例12: __construct
public function __construct()
{
parent::__construct();
require_once CUR_CONF_PATH . 'lib/subway.class.php';
$this->subway = new subway();
require_once ROOT_PATH . 'lib/class/news.class.php';
$this->news = new news();
}
示例13: __construct
/**
* 构造函数
* @author repheal
* @category hogesoft
* @copyright hogesoft
* @include news.class.php
*/
public function __construct()
{
parent::__construct();
$this->pubplan = new publishplan();
$this->pub_content = new publishcontent();
include CUR_CONF_PATH . 'lib/publish.class.php';
$this->obj = new publish();
}
示例14: __construct
public function __construct()
{
parent::__construct();
include_once CUR_CONF_PATH . 'lib/data_handle.class.php';
$this->obj = new data_handle();
$prms_data = array('_action' => 'manger');
$this->verify_content_prms($prms_data);
}
示例15: __construct
public function __construct()
{
parent::__construct();
include CUR_CONF_PATH . 'lib/share.class.php';
$this->obj = new share();
include CUR_CONF_PATH . 'lib/get_user.class.php';
$this->get_user = new get_user();
}