当前位置: 首页>>代码示例>>PHP>>正文


PHP Zend_Gdata::__construct方法代码示例

本文整理汇总了PHP中Zend_Gdata::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Zend_Gdata::__construct方法的具体用法?PHP Zend_Gdata::__construct怎么用?PHP Zend_Gdata::__construct使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Zend_Gdata的用法示例。


在下文中一共展示了Zend_Gdata::__construct方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 /**
  * Create Zend_Gdata_Books object
  *
  * @param Zend_Http_Client $client (optional) The HTTP client to use when
  *          when communicating with the Google servers.
  * @param string $applicationId The identity of the app in the form of Company-AppName-Version
  */
 public function __construct($client = null, $applicationId = 'MyCompany-MyApp-1.0')
 {
     $this->registerPackage('Zend_Gdata_Books');
     $this->registerPackage('Zend_Gdata_Books_Extension');
     parent::__construct($client, $applicationId);
     $this->_httpClient->setParameterPost('service', self::AUTH_SERVICE_NAME);
 }
开发者ID:crodriguezn,项目名称:crossfit-milagro,代码行数:14,代码来源:Books.php

示例2: __construct

 /**
  * Create Zend_Gdata_Gbase object
  */
 public function __construct($client = null)
 {
     $this->registerPackage('Zend_Gdata_Gbase');
     $this->registerPackage('Zend_Gdata_Gbase_Extension');
     parent::__construct($client);
     $this->_httpClient->setParameterPost('service', self::AUTH_SERVICE_NAME);
 }
开发者ID:janssit,项目名称:www.kadulleke.be,代码行数:10,代码来源:Gbase.php

示例3: __construct

 /**
  * Create Gdata_Calendar object
  *
  * @param string $email
  * @param string $password
  *
  */
 public function __construct($client = null, $key = null)
 {
     parent::__construct($client);
     if ($key != null) {
         $this->setDeveloperKey($key);
     }
 }
开发者ID:BackupTheBerlios,项目名称:openpublisher-svn,代码行数:14,代码来源:Base.php

示例4: __construct

 public function __construct($client = null, $applicationId = 'MyCompany-MyApp-1.0', $useH9Sandbox = false)
 {
     $this->registerPackage('Zend_Gdata_Health');
     $this->registerPackage('Zend_Gdata_Health_Extension_Ccr');
     parent::__construct($client, $applicationId);
     $this->_useH9Sandbox = $useH9Sandbox;
 }
开发者ID:hackingman,项目名称:TubeX,代码行数:7,代码来源:Health.php

示例5: __construct

 /**
  * Create Gdata_Calendar object
  *
  * @param Zend_Http_Client $client (optional) The HTTP client to use when
  *          when communicating with the Google servers.
  * @param string $applicationId The identity of the app in the form of Company-AppName-Version
  */
 public function __construct($client = null, $applicationId = 'MyCompany-MyApp-1.0')
 {
     $this->registerPackage('Zend_Gdata_Contacts');
     $this->registerPackage('Zend_Gdata_Contacts_Extension');
     parent::__construct($client, $applicationId);
     $this->_httpClient->setParameterPost('service', self::AUTH_SERVICE_NAME);
     $this->setMajorProtocolVersion(self::DEFAULT_MAJOR_PROTOCOL_VERSION);
 }
开发者ID:delkyd,项目名称:sugarcrm_dev,代码行数:15,代码来源:Contacts.php

示例6: __construct

 /**
  * Create Gdata_Docs object
  *
  * @param Zend_Http_Client $client (optional) The HTTP client to use when
  *          when communicating with the Google servers.
  * @param string $applicationId The identity of the app in the form of Company-AppName-Version
  */
 public function __construct($client = null, $applicationName)
 {
     $this->registerPackage('Zend_Gdata_Docs');
     $this->registerPackage('Zend_Gdata_Docs_Extension_WritersCanInvite');
     parent::__construct($client, $applicationName);
     $this->_httpClient->setParameterPost('service', self::AUTH_SERVICE_NAME);
     $this->setMajorProtocolVersion(self::DEFAULT_MAJOR_PROTOCOL_VERSION);
 }
开发者ID:MexinaD,项目名称:SuiteCRM,代码行数:15,代码来源:Docs.php

示例7: __construct

 /**
  * Create object
  *
  * @param Zend_Http_Client $client (optional) The HTTP client to use when
  *          when communicating with the Google Apps servers.
  * @param string $applicationId The identity of the app in the form of Company-AppName-Version
  */
 public function __construct($client = null, $accountId = null, $applicationId = 'MyCompany-MyApp-1.0')
 {
     $this->_accountId = $accountId;
     $this->registerPackage('Varien_Gdata_Gshopping');
     $this->registerPackage('Varien_Gdata_Gshoppinge_Extension');
     parent::__construct($client, $applicationId);
     $this->_httpClient->setParameterPost('service', self::AUTH_SERVICE_NAME);
 }
开发者ID:natxetee,项目名称:magento2,代码行数:15,代码来源:Content.php

示例8: __construct

 /**
  * Class constructor
  *
  * Creates authenticated Google client. Note that this is never called directly
  * from public scope, but via the singleton function {@link GClient::getInstance()}.
  *
  * @method	GClient		GClient()	GClient($service)	creates and initializes new GClient object
  * @param	string		$service	type of service access (either St, Doc, or Raw)
  * @see		GClient::getInstance()
  * @return	GClient
  */
 public function __construct($service, $token = NULL, $captcha = NULL)
 {
     // get login credentials
     $user = get_option('gdocs_user');
     $pwd = get_option('gdocs_pwd');
     // create Zend Http Client
     $httpClient = Zend_Gdata_ClientLogin::getHttpClient($user, $pwd, $service, NULL, NULL, $token, $captcha);
     $this->setProxy($httpClient);
     // create Zend Gdata client
     parent::__construct($httpClient);
 }
开发者ID:jeffreyhi1,项目名称:inline-google-docs,代码行数:22,代码来源:gclient.php

示例9: __construct

 /**
  * Create Zend_Gdata_DublinCore object
  *
  * @param Zend_Http_Client $client (optional) The HTTP client to use when
  *          when communicating with the Google servers.
  * @param string $applicationId The identity of the app in the form of Company-AppName-Version
  */
 public function __construct($client = null, $applicationId = 'MyCompany-MyApp-1.0')
 {
     $this->registerPackage('Zend_Gdata_DublinCore');
     $this->registerPackage('Zend_Gdata_DublinCore_Extension');
     parent::__construct($client, $applicationId);
 }
开发者ID:be-dmitry,项目名称:zf1,代码行数:13,代码来源:DublinCore.php

示例10: __construct

 /**
  * Create Gdata_Calendar object
  */
 public function __construct($client = null)
 {
     parent::__construct($client);
     $this->_httpClient->setParameterPost('service', 'cl');
 }
开发者ID:BackupTheBerlios,项目名称:openpublisher-svn,代码行数:8,代码来源:Calendar.php

示例11: __construct

 /**
  * Create Gdata_Spreadsheets object
  */
 public function __construct($client = null)
 {
     parent::__construct($client);
     $this->_httpClient->setParameterPost('service', self::AUTH_SERVICE_NAME);
     $this->registerPackage('Zend_Gdata_Spreadsheets');
     $this->registerPackage('Zend_Gdata_Spreadsheets_Extension');
     $this->_server = 'spreadsheets.google.com';
 }
开发者ID:vojtajina,项目名称:sitellite,代码行数:11,代码来源:Spreadsheets.php

示例12: __construct

 public function __construct($client = null, $applicationId = 'New App')
 {
     parent::__construct($client, $applicationId);
 }
开发者ID:NareshPS,项目名称:LifeParserWeb,代码行数:4,代码来源:EMail.php

示例13: __construct

 /**
  * Create Gdata_Media object
  *
  * @param Zend_Http_Client $client The optional pre-configured HTTP client
  */
 public function __construct($client = null)
 {
     $this->registerPackage('Zend_Gdata_Media');
     $this->registerPackage('Zend_Gdata_Media_Extension');
     parent::__construct($client);
 }
开发者ID:dalinhuang,项目名称:popo,代码行数:11,代码来源:Media.php


注:本文中的Zend_Gdata::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。