Exemplo n.º 1
1
 /**
  * Http constructor.
  *
  * @param string $location The Zimbra api soap location.
  * @param RequestFormat $format The request format.
  */
 public function __construct($location, RequestFormat $format = null)
 {
     parent::__construct($location);
     $this->setClient(ClientHttp::instance($this->getLocation()));
     if ($format instanceof RequestFormat) {
         $this->getClient()->setFormat($format);
     }
 }
Exemplo n.º 2
0
 /**
  * Http constructor.
  *
  * @param string $location The Zimbra api soap location.
  * @param RequestFormat $format The request format.
  */
 public function __construct($location, RequestFormat $format = null)
 {
     parent::__construct($location);
     $this->_client = ClientHttp::instance($this->_location);
     if ($format instanceof RequestFormat) {
         $this->_client->setFormat($format);
     }
 }
Exemplo n.º 3
0
 /**
  * Base constructor
  *
  * @param string $location The Zimbra api soap location.
  */
 public function __construct($location)
 {
     parent::__construct($location);
 }
Exemplo n.º 4
0
 public function __construct($location)
 {
     parent::__construct($location);
     $this->_client = new LocalClientHttp($this->_location);
 }
 public function __construct($location)
 {
     parent::__construct($location);
     $this->setClient(new LocalClientHttp($this->getLocation()));
 }