XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
__construct ($caption, $name, $salto=0, $type=0, $cols=3) | |
addOption ($caption, $value, $state=0, $extra= '') | |
getOptions () | |
render () | |
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) | |
Private Attributes | |
$_break | |
$_cols = 3 | |
$_options = array() | |
$_type = 0 | |
Additional Inherited Members | |
Static Public Attributes inherited from RMFormElement | |
static | $elementsIds = array() |
Clase para la creacin y manejo de campos RADIO
Definition at line 94 of file checks.class.php.
RMFormRadio::__construct | ( | $caption, | |
$name, | |||
$salto = 0 , |
|||
$type = 0 , |
|||
$cols = 3 |
|||
) |
string | $caption | Texto de la etiqueta. |
string | $name | Nombre del campo. |
string | $salto | Separador de elementos ( , , u otro caracter HTML) |
int | $type | 1 = Tabla, 0 = Lista |
int | $cols | Numero de columnas de la tabla |
Definition at line 109 of file checks.class.php.
References $cols, $type, RMFormElement\setCaption(), and RMFormElement\setName().
RMFormRadio::addOption | ( | $caption, | |
$value, | |||
$state = 0 , |
|||
$extra = '' |
|||
) |
Agrega una nueva opcion (radio) al elemento
string | $caption | Texto de la etiqueta |
mixed | $value | valor del elemento |
int | $state | 0 Desactivado, 1 Activado |
Definition at line 122 of file checks.class.php.
References $rtn.
RMFormRadio::getOptions | ( | ) |
Devuelve el array con las opciones (radios) del elemento.
Definition at line 134 of file checks.class.php.
References $_options.
RMFormRadio::render | ( | ) |
Genera el cdigo HTML para mostrar el elemento
Definition at line 141 of file checks.class.php.
References $i, $rtn, RMFormElement\getName(), and RMFormElement\id().
|
private |
Definition at line 98 of file checks.class.php.
|
private |
Definition at line 100 of file checks.class.php.
|
private |
Definition at line 97 of file checks.class.php.
Referenced by getOptions().
|
private |
Definition at line 99 of file checks.class.php.