Horde_Form_VarRenderer_Xhtml
extends Horde_Form_VarRenderer
in package
The Horde_Form_VarRenderer_Xhtml:: class renders variables as Xhtml.
Copyright 2003-2017 Horde LLC (http://www.horde.org/) Copyright 2005 Matt Warden mwarden@gmail.com
See the enclosed file COPYING for license information (LGPL).
Tags
Table of Contents
- $_onLoadJS : mixed
- _checkBoxes() : mixed
- _genActionScript() : string
- Returns script for an rendered variable. TODO: make this unobtrusive.
- _genID() : mixed
- _getActionScripts() : string
- Returns scripts for an rendered variable. TODO: make this unobtrusive.
- _multiSelectOptions() : mixed
- _radioButtons() : mixed
- _renderVarDisplay_address() : mixed
- _renderVarDisplay_boolean() : mixed
- _renderVarDisplay_cellphone() : mixed
- _renderVarDisplay_date() : mixed
- _renderVarDisplay_dblookup() : mixed
- _renderVarDisplay_email() : mixed
- _renderVarDisplay_enum() : mixed
- _renderVarDisplay_figlet() : mixed
- _renderVarDisplay_html() : mixed
- _renderVarDisplay_invalid() : mixed
- _renderVarDisplay_link() : mixed
- _renderVarDisplay_monthdayyear() : mixed
- _renderVarDisplay_monthyear() : mixed
- _renderVarDisplay_multienum() : mixed
- _renderVarDisplay_octal() : mixed
- _renderVarDisplay_password() : mixed
- _renderVarDisplay_passwordconfirm() : mixed
- _renderVarDisplay_phone() : mixed
- _renderVarDisplay_radio() : mixed
- _renderVarDisplay_set() : mixed
- _renderVarDisplayDefault() : mixed
- _renderVarInput_address() : mixed
- _renderVarInput_assign() : mixed
- _renderVarInput_boolean() : mixed
- _renderVarInput_cellphone() : mixed
- _renderVarInput_colorpicker() : mixed
- _renderVarInput_countedtext() : mixed
- _renderVarInput_creditcard() : mixed
- _renderVarInput_date() : mixed
- _renderVarInput_datetime() : mixed
- _renderVarInput_dblookup() : mixed
- _renderVarInput_email() : mixed
- _renderVarInput_emailconfirm() : mixed
- _renderVarInput_enum() : mixed
- _renderVarInput_figlet() : mixed
- _renderVarInput_file() : mixed
- _renderVarInput_hourminutesecond() : mixed
- _renderVarInput_html() : mixed
- _renderVarInput_int() : mixed
- _renderVarInput_intlist() : mixed
- _renderVarInput_invalid() : mixed
- _renderVarInput_ipaddress() : mixed
- _renderVarInput_keyval_multienum() : mixed
- _renderVarInput_link() : mixed
- _renderVarInput_longtext() : mixed
- _renderVarInput_matrix() : mixed
- _renderVarInput_mlenum() : mixed
- _renderVarInput_monthdayyear() : mixed
- _renderVarInput_monthyear() : mixed
- _renderVarInput_multienum() : mixed
- _renderVarInput_number() : mixed
- _renderVarInput_obrowser() : mixed
- _renderVarInput_octal() : mixed
- _renderVarInput_password() : mixed
- _renderVarInput_passwordconfirm() : mixed
- _renderVarInput_phone() : mixed
- _renderVarInput_radio() : mixed
- _renderVarInput_selectFiles() : mixed
- _renderVarInput_set() : mixed
- _renderVarInput_sorter() : mixed
- _renderVarInput_stringlist() : mixed
- _renderVarInput_text() : mixed
- _renderVarInput_time() : mixed
- _renderVarInputDefault() : mixed
- _selectOptions() : mixed
- render() : mixed
- Renders a variable.
- renderEnd() : string
- Handles the end of rendering of variables; writes onload JavaScript.
Properties
$_onLoadJS
protected
mixed
$_onLoadJS
= array()
Methods
_checkBoxes()
public
_checkBoxes(mixed $name, mixed $values, mixed $checkedValues[, mixed $actions = '' ]) : mixed
Parameters
- $name : mixed
- $values : mixed
- $checkedValues : mixed
- $actions : mixed = ''
Return values
mixed —_genActionScript()
Returns script for an rendered variable. TODO: make this unobtrusive.
public
_genActionScript(mixed $form, mixed $action, mixed $varname) : string
Parameters
- $form : mixed
- $action : mixed
- $varname : mixed
Tags
Return values
string —html representing an attribute with action script as value, or and empty string, if the action is to happen window.onload
_genID()
public
_genID(mixed $name[, mixed $fulltag = true ]) : mixed
Parameters
- $name : mixed
- $fulltag : mixed = true
Tags
Return values
mixed —_getActionScripts()
Returns scripts for an rendered variable. TODO: make this unobtrusive.
public
_getActionScripts(mixed $form, mixed $var) : string
Parameters
- $form : mixed
- $var : mixed
Tags
Return values
string —html representing attributes with action script as values, or and empty string, if the actions are all to happen window.onload
_multiSelectOptions()
public
_multiSelectOptions(mixed $values, mixed $selectedValues) : mixed
Parameters
- $values : mixed
- $selectedValues : mixed
Return values
mixed —_radioButtons()
public
_radioButtons(mixed $name, mixed $values[, mixed $checkedValue = null ][, mixed $actions = '' ]) : mixed
Parameters
- $name : mixed
- $values : mixed
- $checkedValue : mixed = null
- $actions : mixed = ''
Return values
mixed —_renderVarDisplay_address()
public
_renderVarDisplay_address(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarDisplay_boolean()
public
_renderVarDisplay_boolean(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarDisplay_cellphone()
public
_renderVarDisplay_cellphone(mixed $form, mixed &$var, mixed &$vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarDisplay_date()
public
_renderVarDisplay_date(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarDisplay_dblookup()
public
_renderVarDisplay_dblookup(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarDisplay_email()
public
_renderVarDisplay_email(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarDisplay_enum()
public
_renderVarDisplay_enum(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarDisplay_figlet()
public
_renderVarDisplay_figlet(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarDisplay_html()
public
_renderVarDisplay_html(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarDisplay_invalid()
public
_renderVarDisplay_invalid(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarDisplay_link()
public
_renderVarDisplay_link(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarDisplay_monthdayyear()
public
_renderVarDisplay_monthdayyear(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarDisplay_monthyear()
public
_renderVarDisplay_monthyear(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarDisplay_multienum()
public
_renderVarDisplay_multienum(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarDisplay_octal()
public
_renderVarDisplay_octal(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarDisplay_password()
public
_renderVarDisplay_password(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarDisplay_passwordconfirm()
public
_renderVarDisplay_passwordconfirm(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarDisplay_phone()
public
_renderVarDisplay_phone(mixed $form, mixed &$var, mixed &$vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarDisplay_radio()
public
_renderVarDisplay_radio(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarDisplay_set()
public
_renderVarDisplay_set(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarDisplayDefault()
public
_renderVarDisplayDefault(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_address()
public
_renderVarInput_address(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_assign()
public
_renderVarInput_assign(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_boolean()
public
_renderVarInput_boolean(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_cellphone()
public
_renderVarInput_cellphone(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_colorpicker()
public
_renderVarInput_colorpicker(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_countedtext()
public
_renderVarInput_countedtext(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_creditcard()
public
_renderVarInput_creditcard(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_date()
public
_renderVarInput_date(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_datetime()
public
_renderVarInput_datetime(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_dblookup()
public
_renderVarInput_dblookup(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_email()
public
_renderVarInput_email(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_emailconfirm()
public
_renderVarInput_emailconfirm(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_enum()
public
_renderVarInput_enum(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_figlet()
public
_renderVarInput_figlet(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_file()
public
_renderVarInput_file(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_hourminutesecond()
public
_renderVarInput_hourminutesecond(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_html()
public
_renderVarInput_html(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_int()
public
_renderVarInput_int(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_intlist()
public
_renderVarInput_intlist(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_invalid()
public
_renderVarInput_invalid(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_ipaddress()
public
_renderVarInput_ipaddress(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_keyval_multienum()
public
_renderVarInput_keyval_multienum(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_link()
public
_renderVarInput_link(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_longtext()
public
_renderVarInput_longtext(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_matrix()
public
_renderVarInput_matrix(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_mlenum()
public
_renderVarInput_mlenum(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_monthdayyear()
public
_renderVarInput_monthdayyear(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_monthyear()
public
_renderVarInput_monthyear(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_multienum()
public
_renderVarInput_multienum(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_number()
public
_renderVarInput_number(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_obrowser()
public
_renderVarInput_obrowser(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_octal()
public
_renderVarInput_octal(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_password()
public
_renderVarInput_password(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_passwordconfirm()
public
_renderVarInput_passwordconfirm(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_phone()
public
_renderVarInput_phone(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_radio()
public
_renderVarInput_radio(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_selectFiles()
public
_renderVarInput_selectFiles(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_set()
public
_renderVarInput_set(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_sorter()
public
_renderVarInput_sorter(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_stringlist()
public
_renderVarInput_stringlist(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_text()
public
_renderVarInput_text(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInput_time()
public
_renderVarInput_time(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_renderVarInputDefault()
public
_renderVarInputDefault(mixed $form, mixed $var, mixed $vars) : mixed
Parameters
- $form : mixed
- $var : mixed
- $vars : mixed
Return values
mixed —_selectOptions()
public
_selectOptions(mixed $values[, mixed $selectedValue = false ][, mixed $htmlchars = true ]) : mixed
Parameters
- $values : mixed
- $selectedValue : mixed = false
- $htmlchars : mixed = true
Return values
mixed —render()
Renders a variable.
public
render(Horde_Form $form, Horde_Form_Variable $var, Variables $vars[, bool $isInput = false ]) : mixed
Parameters
- $form : Horde_Form
-
Reference to a Horde_Form instance, or null if none is available.
- $var : Horde_Form_Variable
-
Reference to a Horde_Form_Variable.
- $vars : Variables
-
A Variables instance.
- $isInput : bool = false
-
Whether this is an input field.
Return values
mixed —renderEnd()
Handles the end of rendering of variables; writes onload JavaScript.
public
renderEnd() : string
Tags
Return values
string —the javascript to execute, and its container script tags, or and empty string if there is nothing to execute onload