$_name
$_name :
The Horde_Form_Renderer class provides HTML and other renderings of forms for the Horde_Form:: package.
Horde_Form_Renderer(array $params = array())
Construct a new Horde_Form_Renderer::.
array | $params | This is a hash of renderer-specific parameters. Possible keys:
|
encodeTitle(boolean $encode = null) : boolean
Sets or returns whether the form title should be encoded with htmlspecialchars().
boolean | $encode | If true, the form title gets encoded. If false the title can contain HTML, but the class user is responsible to encode any special characters. |
Whether the form title should be encoded.
None found |
None found |
_renderBeginActive( $name, $extra)
Implementation specific begin function.
$name | ||
$extra |
None found |
_renderBeginInactive( $name, $extra)
Implementation specific begin function.
$name | ||
$extra |
None found |
None found |
None found |
None found |
None found |
factory(mixed $renderer = '', array $params = null) : \Horde_Form_Renderer
Attempts to return a concrete Horde_Form_Renderer instance based on $renderer.
mixed | $renderer | The type of concrete Horde_Form_Renderer subclass to return. The code is dynamically included. If $renderer is an array, then we will look in $renderer[0]/lib/Form/Renderer/ for the subclass implementation named $renderer[1].php. |
array | $params | A hash containing any additional configuration a form might need. |
The concrete Horde_Form_Renderer reference, or false on an error.
None found |
singleton(mixed $renderer, array $params = null) : \Horde_Form_Renderer
Attempts to return a reference to a concrete Horde_Form_Renderer instance based on $renderer. It will only create a new instance if no Horde_Form_Renderer instance with the same parameters currently exists.
This should be used if multiple types of form renderers (and, thus, multiple Horde_Form_Renderer instances) are required.
This method must be invoked as: $var = &Horde_Form_Renderer::singleton()
mixed | $renderer | The type of concrete Horde_Form_Renderer subclass to return. The code is dynamically included. If $renderer is an array, then we will look in $renderer[0]/lib/Form/Renderer/ for the subclass implementation named $renderer[1].php. |
array | $params | A hash containing any additional configuration a form might need. |
The concrete Horde_Form_Renderer reference, or false on an error.
None found |