original_string: public function baseUrl()
      {
          static $base = null;
          if ($base === null) {
              $base = $this->_View->request->base;
          }
  
          return $base;
      }
code: public function baseUrl()
      {
          static $base = null;
          if ($base === null) {
              $base = $this->_View->request->base;
          }
  
          return $base;
      }
code_tokens: public function baseUrl ( ) { static $ base = null ; if ( $ base === null ) { $ base = $ this -> _View -> request -> base ; } return $ base ; }
docstring: Calculates site's base URL.
  
  @return string Site's base URL
docstring_tokens: Calculates site s base URL .