/** * constructor for Zend_Service_Tine20 * @param string $url the url of the Tine 2.0 installation * @param Zend_Http_Client $httpClient * @return void */ public function __construct($url, $httpClient = null) { $this->_url = $url; if (!$httpClient instanceof Zend_Http_Client) { $httpClient = new Zend_Http_Client(); } if (!$httpClient->getCookieJar() instanceof Zend_Http_CookieJar) { $httpClient->setCookieJar(); } parent::__construct($url, $httpClient); }