本文整理匯總了PHP中BaseFrm::__construct方法的典型用法代碼示例。如果您正苦於以下問題:PHP BaseFrm::__construct方法的具體用法?PHP BaseFrm::__construct怎麽用?PHP BaseFrm::__construct使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類BaseFrm
的用法示例。
在下文中一共展示了BaseFrm::__construct方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: curl
function __construct()
{
parent::__construct();
require_once ROOT_PATH . 'lib/class/curl.class.php';
$this->curl = new curl($this->settings['media_api']['host'], $this->settings['media_api']['dir']);
$this->mVod = new curl($this->settings['livmedia_api']['host'], $this->settings['livmedia_api']['dir']);
}
示例2: user
function __construct()
{
parent::__construct();
include ROOT_DIR . 'lib/user/user.class.php';
$this->mUser = new user();
/**/
}
示例3:
function __construct()
{
parent::__construct();
$user = $this->input['user'] ? $this->input['user'] : hg_get_cookie('user');
$pass = $this->input['pass'] ? $this->input['pass'] : hg_get_cookie('pass');
$this->setUser($user, $pass);
}
示例4: curl
function __construct()
{
parent::__construct();
include_once ROOT_PATH . 'lib/class/curl.class.php';
global $gGlobalConfig;
$this->curl = new curl($gGlobalConfig['vodapi']['host'], $gGlobalConfig['vodapi']['dir'], $gGlobalConfig['vodapi']['token']);
}
示例5: __construct
public function __construct()
{
parent::__construct();
include_once ROOT_PATH . 'lib/class/recycle.class.php';
$this->recycle = new recycle();
$this->logs = new logs();
}
示例6: __construct
public function __construct()
{
parent::__construct();
$this->mDates = date('2012-01-01');
include_once ROOT_PATH . 'lib/class/recycle.class.php';
$this->recycle = new recycle();
}
示例7: __construct
public function __construct()
{
parent::__construct();
$this->interview = new interview();
$this->pic = new pic();
$this->check = new check();
}
示例8: curl
function __construct()
{
parent::__construct();
global $gGlobalConfig;
include_once ROOT_PATH . 'lib/class/curl.class.php';
$this->curl = new curl($gGlobalConfig['App_workbench']['host'], $gGlobalConfig['App_workbench']['dir']);
}
示例9:
function __construct()
{
parent::__construct();
require_once CUR_CONF_PATH . 'lib/reportLib.class.php';
require_once ROOT_PATH . 'lib/class/team.class.php';
require_once ROOT_PATH . 'lib/class/activity.class.php';
}
示例10: user
function __construct()
{
parent::__construct();
//導入視頻接口調用封裝類
include_once ROOT_PATH . '/lib/user/user.class.php';
$this->mUser = new user();
}
示例11: __construct
public function __construct()
{
parent::__construct();
include_once ROOT_PATH . 'lib/class/material.class.php';
include_once ROOT_PATH . 'lib/class/livmedia.class.php';
$this->mMaterial = new material();
}
示例12: video
function __construct()
{
parent::__construct();
include_once ROOT_PATH . 'api/lib/video.class.php';
$this->mVideo = new video();
include_once ROOT_PATH . 'lib/user/user.class.php';
$this->mUser = new user();
}
示例13: __construct
public function __construct()
{
parent::__construct();
include_once ROOT_PATH . 'lib/class/recycle.class.php';
include_once ROOT_PATH . 'lib/class/publishconfig.class.php';
$this->recycle = new recycle();
$this->publish_column = new publishconfig();
}
示例14: curl
function __construct()
{
parent::__construct();
require_once ROOT_PATH . 'lib/class/curl.class.php';
$this->mBackup = new curl($this->settings['liv_mms_api']['host'], $this->settings['liv_mms_api']['dir']);
require_once CUR_CONF_PATH . 'lib/channel.class.php';
$this->mChannel = new channels();
}
示例15: user
function __construct()
{
parent::__construct();
include_once ROOT_DIR . 'lib/user/user.class.php';
include_once ROOT_DIR . 'lib/class/status.class.php';
$this->mUser = new user();
$this->mStatus = new status();
}