Exemple #1
0
 /**
  * Create Zend_Gdata_YouTube 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_YouTube');
     $this->registerPackage('Zend_Gdata_YouTube_Extension');
     parent::__construct($client, $applicationId);
 }
Exemple #2
0
 /**
  * Create Zend_Gdata_YouTube object
  *
  * @param Zend_Http_Client $client (optional) The HTTP client to use when
  *          when communicating with the Google Apps servers.
  */
 public function __construct($client = null)
 {
     $this->registerPackage('Zend_Gdata_YouTube');
     $this->registerPackage('Zend_Gdata_YouTube_Extension');
     parent::__construct($client);
 }