本文整理匯總了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();
}