$defaultFormBuilder
$defaultFormBuilder : string
Abstract base class for Horde_View to get private constructs out of template scope.
addHelper(\Horde_View_Helper|string $helper) : \Horde_View_Helper
Adds to the stack of helpers in LIFO order.
If the $helper parameter is a string instead of a Helper instance, then it will be treated as a class name. Names without "_" and that do not have "Helper" in them will be prefixed with Horde_ViewHelper; other names will be treated as literal class names. Examples:
// Adds a new Horde_View_Helper_Tag to the view:
$v->addHelper('Tag');
// Adds a new AppHelper object to the view if it exists, otherwise
// throws an exception:
$v->addHelper('AppHelper');
\Horde_View_Helper|string | $helper | The helper instance to add. |
Returns the helper object that was added.
renderPartial(string $name, array $options = array()) : string
Renders a partial template.
Partial template filenames are named with a leading underscore, although this underscore is not used when specifying the name of the partial.
We would reference the file /views/shared/_sidebarInfo.html in our template using:
string | $name | |
array | $options |
The template output.