XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
__construct ($caption, $name, $inicial=0) | |
getValue () | |
render () | |
setValue ($value) | |
Public Member Functions inherited from RMFormElement | |
addClass ($class) | |
getCaption () | |
getClass () | |
getDescription () | |
getExtra () | |
getForm () | |
getName () | |
id () | |
render () | |
setCaption ($caption) | |
setClass ($class) | |
setDescription ($desc) | |
setExtra ($extra) | |
setForm ($name) | |
setId ($id) | |
setName ($name) | |
Public Attributes | |
$_value = '' | |
Additional Inherited Members | |
Static Public Attributes inherited from RMFormElement | |
static | $elementsIds = array() |
Clase para la generacin y manejo de campos Yes/No (radios).
Definition at line 176 of file checks.class.php.
RMFormYesNo::__construct | ( | $caption, | |
$name, | |||
$inicial = 0 |
|||
) |
string | $caption | Texto de la etiqueta |
string | $name | Nombre dle campo |
int | $inicial | Valor inicial (0 = No, 1 = S) |
Definition at line 184 of file checks.class.php.
References RMFormElement\getName(), RMFormElement\setCaption(), and RMFormElement\setName().
RMFormYesNo::getValue | ( | ) |
Devuelve el valor inicial del elemento
Definition at line 200 of file checks.class.php.
References $_value.
RMFormYesNo::render | ( | ) |
Genera el cdigo HTML para mostrar el campo
Definition at line 207 of file checks.class.php.
References $rtn, and RMFormElement\getName().
RMFormYesNo::setValue | ( | $value | ) |
Establece el valor incial del elemento
int | $value | 0 = no, 1 = S |
Definition at line 193 of file checks.class.php.
RMFormYesNo::$_value = '' |
Definition at line 178 of file checks.class.php.
Referenced by getValue().