Property | Type | Description | |
---|---|---|---|
$_params | array | Parameters which change this renderer's behavior. |
Method | Description | |
---|---|---|
__construct ( array $params = [] ) | Constructs a new renderer. | |
factory ( mixed $driver, array $params = [] ) : Horde_Core_Ui_VarRenderer | Constructs a new instance. | |
render ( Horde_Form $form, Horde_Form_Variable $var, Variables $vars, boolean $isInput = false ) | Renders a variable. | |
renderEnd ( ) : string | Finishes rendering after all fields are output. |
public __construct ( array $params = [] ) | ||
$params | array | The name of the variable which will track this UI widget's state. |
public static factory ( mixed $driver, array $params = [] ) : Horde_Core_Ui_VarRenderer | ||
$driver | mixed | 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. |
$params | array | Parameters specific to the subclass. |
return | Horde_Core_Ui_VarRenderer | A subclass instance. |
public render ( Horde_Form $form, Horde_Form_Variable $var, Variables $vars, boolean $isInput = false ) | ||
$form | Horde_Form | A Horde_Form instance, or null if none is available. |
$var | Horde_Form_Variable | A Horde_Form_Variable. |
$vars | Variables | A Horde_Variables instance. |
$isInput | boolean | Whether this is an input field. |
protected array $_params | ||
return | array |