Class Zend_View_Helper_BaseUrl

Description

Helper for retrieving the BaseUrl

  • copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /View/Helper/BaseUrl.php (line 34)

Zend_View_Helper_Abstract
   |
   --Zend_View_Helper_BaseUrl
Variable Summary
 string $_baseUrl
Method Summary
 string baseUrl ([string|null $file = null])
 string getBaseUrl ()
 string _removeScriptName (string $url)
Variables
string $_baseUrl (line 41)

BaseUrl

  • access: protected

Inherited Variables

Inherited from Zend_View_Helper_Abstract

Zend_View_Helper_Abstract::$view
Methods
baseUrl (line 51)

Returns site's base url, or file with base url prepended

$file is appended to the base url for simplicity

  • access: public
string baseUrl ([string|null $file = null])
  • string|null $file
getBaseUrl (line 81)

Get BaseUrl

  • access: public
string getBaseUrl ()
setBaseUrl (line 70)

Set BaseUrl

  • access: public
Zend_View_Helper_BaseUrl setBaseUrl (string $base)
  • string $base
_removeScriptName (line 103)

Remove Script filename from baseurl

  • access: protected
string _removeScriptName (string $url)
  • string $url

Inherited Methods

Inherited From Zend_View_Helper_Abstract

 Zend_View_Helper_Abstract::direct()
 Zend_View_Helper_Abstract::setView()

Documentation generated on Mon, 21 Jun 2010 15:08:50 -0400 by phpDocumentor 1.4.3