XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
addClass ($class) | |
getCaption () | |
getClass () | |
getDescription () | |
getExtra () | |
getForm () | |
getName () | |
id () | |
render () | |
setCaption ($caption) | |
setClass ($class) | |
setDescription ($desc) | |
setExtra ($extra) | |
setForm ($name) | |
setId ($id) | |
setName ($name) | |
Static Public Attributes | |
static | $elementsIds = array() |
Private Attributes | |
$_caption = '' | |
$_class = '' | |
$_description = '' | |
$_extra = '' | |
$_formname = '' | |
$_id = '' | |
$_name = '' | |
$_required = '' | |
Clase abstracta para derivar todos los elementos del formulario Esta clase no puede ser instanciada directamente
Definition at line 15 of file formelement.class.php.
RMFormElement::addClass | ( | $class | ) |
Definition at line 81 of file formelement.class.php.
RMFormElement::getCaption | ( | ) |
Recuepera el texto de la etiqueta de un elemento espec?fico
Definition at line 105 of file formelement.class.php.
References $_caption.
Referenced by RMFormSubTitle\render().
RMFormElement::getClass | ( | ) |
Recupera el nombre de clase de un elemento espe?fico del formulario
Definition at line 89 of file formelement.class.php.
References $_class.
Referenced by RMFormFile\render(), RMFormButton\render(), RMFormText\render(), RMFormSelect\render(), RMFormTextArea\render(), RMFormEditor\renderExmCode(), RMFormEditor\renderHTML(), and RMFormEditor\renderTiny().
RMFormElement::getDescription | ( | ) |
Recupera el texto descriptivo del elemento del formulario
Definition at line 123 of file formelement.class.php.
References $_description.
RMFormElement::getExtra | ( | ) |
Recuepera la informaci?n extra del elemento
Definition at line 141 of file formelement.class.php.
References $_extra.
Referenced by RMFormFile\render(), RMFormUser\render(), RMFormButton\render(), RMFormText\render(), RMFormSelect\render(), RMFormTextArea\render(), and RMFormLabel\render().
RMFormElement::getForm | ( | ) |
Definition at line 151 of file formelement.class.php.
References $_formname.
RMFormElement::getName | ( | ) |
Obtiene el nombre de un elemento espec?fico en el formulario
Definition at line 40 of file formelement.class.php.
References $_name.
Referenced by RMFormGroups\__construct(), RMFormAvatarField\__construct(), RMFormYesNo\__construct(), RMFormSelect\addOption(), RMFormSelect\addOptionsArray(), RMFormCacheModuleField\render(), RMFormImage\render(), RMFormDate\render(), RMFormUser\render(), RMFormButton\render(), RMFormText\render(), RMFormModules\render(), RMFormGroups\render(), RMFormRadio\render(), RMFormAvatarField\render(), RMFormYesNo\render(), RMFormTextArea\render(), RMFormEditor\renderExmCode(), RMFormEditor\renderHTML(), RMFormEditor\renderTArea(), RMFormEditor\renderTiny(), and RMFormGroups\setMulti().
RMFormElement::id | ( | ) |
Get element unique id
Definition at line 52 of file formelement.class.php.
Referenced by RMFormCacheModuleField\render(), RMFormHidden\render(), RMFormFile\render(), RMFormTimeZoneField\render(), RMFormDate\render(), RMFormLanguageField\render(), RMFormTheme\render(), RMFormUser\render(), RMFormButton\render(), RMFormText\render(), RMFormSelect\render(), RMFormModules\render(), RMFormRadio\render(), RMFormTextArea\render(), and RMFormEditor\renderTiny().
|
abstract |
Obtenemos la tabla html formateada Este m?todo es abstracto y solo puede ser llamado desde la clase heredada
RMFormElement::setCaption | ( | $caption | ) |
Establece el texto de la etiqueta para un elemento espec?fico del formulario
string | $caption | Texto de la etiqueta |
Definition at line 97 of file formelement.class.php.
Referenced by RMFormCacheModuleField\__construct(), RMFormTimeZoneField\__construct(), RMFormImage\__construct(), RMFormCheck\__construct(), RMFormButton\__construct(), RMFormFile\__construct(), RMFormSelect\__construct(), RMFormLanguageField\__construct(), RMFormDate\__construct(), RMFormTheme\__construct(), RMFormText\__construct(), RMFormTextOptions\__construct(), RMFormGroups\__construct(), RMFormModules\__construct(), RMFormUser\__construct(), RMFormEditor\__construct(), RMFormAvatarField\__construct(), RMFormButtonGroup\__construct(), RMFormRadio\__construct(), RMFormSubTitle\__construct(), RMFormFormUserSelect\__construct(), RMFormYesNo\__construct(), RMFormTextArea\__construct(), and RMFormLabel\__construct().
RMFormElement::setClass | ( | $class | ) |
Establece el nombre de la clase CSS que se usará en un elemento especĂfico del formulario
string | $class | Nombre de la clase (eg. "even") |
Definition at line 77 of file formelement.class.php.
References $class.
Referenced by RMFormSubTitle\__construct().
RMFormElement::setDescription | ( | $desc | ) |
Establece el texto descriptivo de un elemento espec?fico en el formulario. Este texto se presenta por debajo del texto de la etiqueta (setCaption()) en letra peque?a.
string | $desc | Descripci?n del elemento |
Definition at line 115 of file formelement.class.php.
Referenced by RMFormSubTitle\__construct(), and configure_rm_plugin().
RMFormElement::setExtra | ( | $extra | ) |
Establece texto adicional para el elemento del formulario. Este texto se insertar? dentro de la etiqueta <input ... /> o la que corresponda. Puede insertarse c?digo para funciones JavaScript (onclick, onfocus, etc) o cualquier otro dato v?lido para el elemento
string | $extra | Texto a insertar |
Definition at line 133 of file formelement.class.php.
Referenced by RMFormLabel\__construct().
RMFormElement::setForm | ( | $name | ) |
Asigna el formulario (nombre) al elemento actual
Definition at line 147 of file formelement.class.php.
RMFormElement::setId | ( | $id | ) |
Definition at line 44 of file formelement.class.php.
References $id.
RMFormElement::setName | ( | $name | ) |
Establece el nombre de un elemento espec?fico del formulario
string | $name | Nombre del elemento |
Definition at line 31 of file formelement.class.php.
Referenced by RMFormCacheModuleField\__construct(), RMFormTimeZoneField\__construct(), RMFormImage\__construct(), RMFormHidden\__construct(), RMFormButton\__construct(), RMFormFile\__construct(), RMFormSelect\__construct(), RMFormLanguageField\__construct(), RMFormDate\__construct(), RMFormTheme\__construct(), RMFormText\__construct(), RMFormGroups\__construct(), RMFormModules\__construct(), RMFormUser\__construct(), RMFormEditor\__construct(), RMFormAvatarField\__construct(), RMFormRadio\__construct(), RMFormSubTitle\__construct(), RMFormFormUserSelect\__construct(), RMFormTextArea\__construct(), RMFormYesNo\__construct(), RMFormLabel\__construct(), and RMFormGroups\setMulti().
|
private |
Definition at line 18 of file formelement.class.php.
Referenced by getCaption().
|
private |
Definition at line 19 of file formelement.class.php.
Referenced by getClass().
|
private |
Definition at line 22 of file formelement.class.php.
Referenced by getDescription().
|
private |
Definition at line 20 of file formelement.class.php.
Referenced by getExtra().
|
private |
Definition at line 23 of file formelement.class.php.
Referenced by getForm().
|
private |
Definition at line 24 of file formelement.class.php.
Referenced by id().
|
private |
Definition at line 17 of file formelement.class.php.
|
private |
Definition at line 21 of file formelement.class.php.
|
static |
Definition at line 25 of file formelement.class.php.