/** * get the NPG wsdl * @return string WSDL URL */ public static function getWsdl() { if (!self::$wsdl) { $position = Application_Model_General::getSettings('NpWsdlPosition'); if ($position === "relative") { self::$wsdl = Application_Model_General::getBaseUrl() . Application_Model_General::getSettings('NpWsdl'); } else { return Application_Model_General::getSettings('NpWsdl'); } } return self::$wsdl; }