/** * Create ZendGData\Analytics object * * @param \Zend\Http\Client $client * @param string $applicationId The identity of the app in the form of * Company-AppName-Version */ public function __construct(Client $client = null, $applicationId = 'MyCompany-MyApp-1.0') { $this->registerPackage('ZendGData\\Analytics'); $this->registerPackage('ZendGData\\Analytics\\Extension'); parent::__construct($client, $applicationId); $this->_httpClient->setParameterPost(array('service' => self::AUTH_SERVICE_NAME)); }