905.1. Zend\View\Helper\BasePath
Helper for retrieving the base path.
905.1.1. Methods
905.1.1.1. __invoke
-
__invoke()
Returns site’s base path, or file with base path prepended.
$file is appended to the base path for simplicity.
Parameters: | string|null – |
Throws ExceptionRuntimeException: |
| |
Return type: | string |
905.1.1.2. setBasePath
-
setBasePath()
Set the base path.
Parameters: | string – |
Return type: | self |