public function getBaseUrl()
    {
        if ($this->baseUrl === null) {
            $this->setBaseUrl($this->detectBaseUrl());
        }
        return $this->baseUrl;
    }
public function getBaseUrl()
    {
        if ($this->baseUrl === null) {
            $this->setBaseUrl($this->detectBaseUrl());
        }
        return $this->baseUrl;
    }
public function getBaseUrl ( ) { if ( $ this -> baseUrl === null ) { $ this -> setBaseUrl ( $ this -> detectBaseUrl ( ) ) ; } return $ this -> baseUrl ; }
Get the base URL.

@return string
Get the base URL .