本文整理汇总了PHP中appCommonFrm::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP appCommonFrm::__construct方法的具体用法?PHP appCommonFrm::__construct怎么用?PHP appCommonFrm::__construct使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类appCommonFrm
的用法示例。
在下文中一共展示了appCommonFrm::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct()
{
parent::__construct();
$this->Members = new members();
$this->memberverifycode = new member_verifycode();
$this->email_token = new email_token_mode();
}
示例2: __construct
public function __construct()
{
parent::__construct();
$this->api = new appModule();
$this->material = new material();
$this->company = new company();
}
示例3: __construct
public function __construct()
{
parent::__construct();
$this->team = new teamClass();
$this->notify = new notify();
$this->teamApi = new team();
}
示例4: livemms
function __construct()
{
parent::__construct();
require_once CUR_CONF_PATH . 'lib/livemms.class.php';
$this->mLivemms = new livemms();
// require_once ROOT_PATH . 'lib/class/curl.class.php';
}
示例5: __construct
class columnApi extends appCommonFrm
{
private $site;
private $column;
private $app;
public function __construct()
{
示例6: __construct
public function __construct()
{
parent::__construct();
$this->api = new app();
$this->material = new material();
$this->version_mode = new app_version_mode();
}
示例7: urldecode
function __construct()
{
parent::__construct();
$this->userinfo['id'] = $this->input['id'];
$this->userinfo['username'] = urldecode($this->input['username']);
$this->userinfo['email'] = urldecode($this->input['email']);
//获取发邮件配置
require ROOT_PATH . 'lib/class/uset.class.php';
$mUset = new uset();
$arr = array('emailsend', 'emailwrapbracket', 'emailtype', 'usessl', 'smtphost', 'smtpport', 'smtpuser', 'smtppassword', 'email_footer', 'email_title', 'system_name', 'verify_url', 'email_content', 'pwd_title', 'pwd_content', 'pwd_verify_url');
$rt = $mUset->get_desig_uset($arr);
unset($rt['result']);
$config = array();
foreach ($rt as $k => $v) {
$config[$v['identi']] = $v['status'];
}
$this->settings = $config;
$this->from = $this->settings['emailsend'];
$this->emailwrapbracket = $this->settings['emailwrapbracket'];
if ($this->settings['emailtype'] == 'smtp') {
$this->emailtype = 'smtp';
$this->smtpport = empty($this->settings['smtpport']) ? 25 : intval($this->settings['smtpport']);
$this->smtphost = empty($this->settings['smtphost']) ? 'localhost' : $this->settings['smtphost'];
if ($this->settings['usessl']) {
$this->smtphost = 'ssl://' . $this->smtphost;
}
$this->smtpuser = $this->settings['smtpuser'];
$this->smtppassword = $this->settings['smtppassword'];
}
$this->boundry = "----=_NextPart_000_0022_01C1BD6C.D0C0F9F0";
$this->settings['system_name'] = $this->clean_message($this->settings['system_name']);
$this->from_user = $this->settings['system_name'];
}
示例8: __construct
public function __construct()
{
parent::__construct();
$this->api = new appClient();
$this->version_mode = new app_version_mode();
$this->app_info_mode = new app_info_mode();
}
示例9: user
function __construct()
{
parent::__construct();
$this->mUser = new user();
$this->mCredit = new credit();
$this->mUset = new uset();
}
示例10: __construct
public function __construct()
{
parent::__construct();
$this->api = new albums_app();
include CUR_CONF_PATH . 'lib/Core.class.php';
$this->obj = new Core();
}
示例11: __construct
define('MOD_UNIQUEID', 'photos');
//模块标识
class photosApi extends appCommonFrm
{
private $api;
public function __construct()
{
示例12: __construct
public function __construct()
{
parent::__construct();
include_once CUR_CONF_PATH . 'lib/member.class.php';
$this->mMember = new member();
include_once CUR_CONF_PATH . 'lib/member_info.class.php';
$this->mMemberInfo = new memberInfo();
}
示例13: __construct
public function __construct()
{
parent::__construct();
require_once CUR_CONF_PATH . 'lib/member.class.php';
$this->mMember = new member();
require_once CUR_CONF_PATH . 'lib/sms_server.class.php';
$this->mSmsServer = new smsServer();
}
示例14: vote
function __construct()
{
parent::__construct();
require_once CUR_CONF_PATH . 'lib/vote.class.php';
$this->mVote = new vote();
require_once ROOT_PATH . 'lib/class/verifycode.class.php';
$this->mVerifyCode = new verifycode();
}
示例15: user
function __construct()
{
parent::__construct();
require_once ROOT_DIR . 'lib/user/user.class.php';
require_once ROOT_DIR . 'lib/class/curl.class.php';
$this->user = new user();
$this->curl = new curl();
}