public static function getSoapClient() { if (self::$soapClient != NULL) { return self::$soapClient; } $config = Zend_Registry::get('config'); self::$soapClient = new Zend_Soap_Client(NULL, array('location' => $config->webservice->client->location, 'uri' => $config->webservice->client->uri, 'login' => $config->webservice->cliente->user)); return self::$soapClient; }
public function __construct($o = NULL) { parent::__construct($o); }