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