本文整理匯總了PHP中XWB_plugin::getHttp方法的典型用法代碼示例。如果您正苦於以下問題:PHP XWB_plugin::getHttp方法的具體用法?PHP XWB_plugin::getHttp怎麽用?PHP XWB_plugin::getHttp使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類XWB_plugin
的用法示例。
在下文中一共展示了XWB_plugin::getHttp方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: weibo
/**
* 構造函數
*
* @param @oauth_token
* @param @oauth_token_secret
* @return
*/
function weibo($oauth_token = NULL, $oauth_token_secret = NULL)
{
$this->sha1_method = new ns_OAuthSignatureMethod_HMAC_SHA1();
$this->consumer = new ns_OAuthConsumer(XWB_APP_KEY, XWB_APP_SECRET_KEY);
$this->setConfig();
$this->http = XWB_plugin::getHttp(false);
}
示例2: pushbackCommunicator
/**
* 構造函數
*/
function pushbackCommunicator()
{
$this->http = XWB_plugin::getHttp();
$this->appkey = XWB_APP_KEY;
$this->appsecret = XWB_APP_SECRET_KEY;
$this->serverUrl = XWB_PUSHBACK_URL;
$this->pushbackAuthKey = (string) XWB_Plugin::pCfg('pushback_authkey');
}
示例3: weibo2_0
/**
* 構造函數
*
* @param @oauth_token
* @param @oauth_token_secret
* @return
*/
function weibo2_0($access_token = NULL, $oauth_token_secret = NULL)
{
$this->setConfig();
$this->http = XWB_plugin::getHttp(false);
}
示例4: apixwb
function apixwb($url = '')
{
$this->url = $url ? $url : XWB_plugin::pCfg('url_to_xweibo');
$this->http = XWB_plugin::getHttp(false);
}
示例5: sinaFaceSync
/**
* 構造函數
*
* @return sinaFaceSync
*/
function sinaFaceSync()
{
$this->_getSinaUserInfo();
$this->http = XWB_plugin::getHttp(false);
}