/** * Constructor (LiveDocx.MailMerge SOAP Service) * * @return void * @return throws Zend_Service_LiveDocx_Exception * @since LiveDocx 1.0 */ public function __construct($options = null) { $this->_wsdl = self::WSDL; $this->_fieldValues = array(); $this->_blockFieldValues = array(); parent::__construct($options); }
public function __construct($options = null) { $bootstrap = Zend_Controller_Front::getInstance()->getParam('bootstrap'); $options = $bootstrap->getOptions(); $livedocx = $options['livedocx']; $wsdl = $livedocx['wsdl']; if (isset($wsdl) && !empty($wsdl)) { $this->_wsdl = $wsdl; } $this->_fieldValues = array(); $this->_blockFieldValues = array(); Zend_Service_LiveDocx::__construct($options); }