Zend Framework
3.0
|
Helper for retrieving the base path. More...
Public Member Functions | |
__invoke ($file=null) | |
Returns site's base path, or file with base path prepended. | |
setBasePath ($basePath) | |
Set the base path. | |
Public Member Functions inherited from AbstractHelper | |
setView (Renderer $view) | |
Set the View object. | |
getView () | |
Get the view object. | |
Protected Attributes | |
$basePath | |
Protected Attributes inherited from AbstractHelper | |
$view = null | |
Helper for retrieving the base path.
__invoke | ( | $file = null | ) |
Returns site's base path, or file with base path prepended.
$file is appended to the base path for simplicity.
string | null | $file |
Exception\RuntimeException |
setBasePath | ( | $basePath | ) |
Set the base path.
string | $basePath |
|
protected |