\Horde_Core_Ui_VarRenderer

The Horde_Core_Ui_VarRenderer:: class provides base functionality for other Horde UI elements.

Summary

Methods
Properties
Constants
__construct()
factory()
render()
renderEnd()
No public properties found
No constants found
No protected methods found
$_params
N/A
No private methods found
No private properties found
N/A

Properties

$_params

$_params : array

Parameters which change this renderer's behavior.

Type

array

Methods

__construct()

__construct(array  $params = array()) 

Constructs a new renderer.

Parameters

array $params

The name of the variable which will track this UI widget's state.

factory()

factory(mixed  $driver, array  $params = array()) : \Horde_Core_Ui_VarRenderer

Constructs a new instance.

Parameters

mixed $driver

This is the renderer subclass we will instantiate. If an array is passed, the first element is the library path and the second element is the driver name.

array $params

Parameters specific to the subclass.

Throws

\Horde_Exception

Returns

\Horde_Core_Ui_VarRenderer

A subclass instance.

render()

render(\Horde_Form  $form, \Horde_Form_Variable  $var, \Variables  $vars, boolean  $isInput = false) 

Renders a variable.

Parameters

\Horde_Form $form

A Horde_Form instance, or null if none is available.

\Horde_Form_Variable $var

A Horde_Form_Variable.

\Variables $vars

A Horde_Variables instance.

boolean $isInput

Whether this is an input field.

renderEnd()

renderEnd() : string

Finishes rendering after all fields are output.

Returns

string —

TODO