API Documentation

View/Helper/BaseUrl.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_View
subpackage
Helper
version
$Id: BaseUrl.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_View_Helper_BaseUrl

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_View_Helper_BaseUrl

Extends from
Zend_View_Helper_Abstract
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_View
subpackage
Helper
Properties
$_baseUrl
Methods
baseUrl
setBaseUrl
getBaseUrl
_removeScriptName

Description

Helper for retrieving the BaseUrl

Properties

$_baseUrl

string $_baseUrl = ''

BaseUrl

Details

$_baseUrl
string
visibility
protected
default
final
false
static
false

Methods

_removeScriptName

_removeScriptName( string $url ) : string

Remove Script filename from baseurl

Arguments
$url
string
Output
string
Details
visibility
protected
final
false
static
false

baseUrl

baseUrl( string|null $file = null ) : string

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

$file is appended to the base url for simplicity

Arguments
$file
stringnull
Output
string
Details
visibility
public
final
false
static
false

getBaseUrl

getBaseUrl( ) : string

Get BaseUrl

Output
string
Details
visibility
public
final
false
static
false

setBaseUrl

setBaseUrl( string $base ) : Zend_View_Helper_BaseUrl

Set BaseUrl

Arguments
$base
string
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.