public function getPazpar2BaseURL()
    {
        $URL = 'http://' . GeneralUtility::getIndpEnv('HTTP_HOST') . $this->getPazpar2Path();
        if ($this->pazpar2BaseURL) {
            $URL = $this->pazpar2BaseURL;
        }
        return $URL;
    }
public function getPazpar2BaseURL()
    {
        $URL = 'http://' . GeneralUtility::getIndpEnv('HTTP_HOST') . $this->getPazpar2Path();
        if ($this->pazpar2BaseURL) {
            $URL = $this->pazpar2BaseURL;
        }
        return $URL;
    }
public function getPazpar2BaseURL ( ) { $ URL = 'http://' . GeneralUtility :: getIndpEnv ( 'HTTP_HOST' ) . $ this -> getPazpar2Path ( ) ; if ( $ this -> pazpar2BaseURL ) { $ URL = $ this -> pazpar2BaseURL ; } return $ URL ; }
Return URL of pazpar2 service.
If it is not set, return default URL on localhost.

@return string
Return URL of pazpar2 service . If it is not set return default URL on localhost .