XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
__construct ($caption, $name, $multi=0, $type=0, $selected=null, $cols=2) | |
multi () | |
render () | |
selected () | |
setMulti ($value) | |
setSelected ($value) | |
setType ($value) | |
type () | |
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 | |
$cols = 2 | |
$multi = 0 | |
$selected = array() | |
$type = 0 | |
Additional Inherited Members | |
Static Public Attributes inherited from RMFormElement | |
static | $elementsIds = array() |
Definition at line 11 of file language.class.php.
RMFormLanguageField::__construct | ( | $caption, | |
$name, | |||
$multi = 0 , |
|||
$type = 0 , |
|||
$selected = null , |
|||
$cols = 2 |
|||
) |
Constructor
string | $caption | |
string | $name | Nombre del campo |
int | $multi | Selecciona multiple activada o desactivada |
int | $type | 0 = Select, 1 = Tabla |
$selected | Valor seleccionado por defecto | |
array | $selected | Grupo de vlores seleccionado por defecto |
int | $cols | Numero de columnas para la tabla o filas para un campo select multi |
Definition at line 28 of file language.class.php.
References $cols, $multi, $selected, $type, multi(), selected(), RMFormElement\setCaption(), RMFormElement\setName(), and type().
RMFormLanguageField::multi | ( | ) |
Definition at line 36 of file language.class.php.
References $multi.
Referenced by __construct(), render(), and setMulti().
RMFormLanguageField::render | ( | ) |
Definition at line 55 of file language.class.php.
References $file, $files, $i, $rtn, RMFormElement\id(), multi(), selected(), and type().
RMFormLanguageField::selected | ( | ) |
Definition at line 48 of file language.class.php.
References $selected.
Referenced by __construct(), render(), and setSelected().
RMFormLanguageField::setMulti | ( | $value | ) |
Definition at line 39 of file language.class.php.
References multi().
RMFormLanguageField::setSelected | ( | $value | ) |
Definition at line 51 of file language.class.php.
References selected().
RMFormLanguageField::setType | ( | $value | ) |
Definition at line 45 of file language.class.php.
References type().
RMFormLanguageField::type | ( | ) |
Definition at line 42 of file language.class.php.
References $type.
Referenced by __construct(), render(), and setType().
|
private |
Definition at line 16 of file language.class.php.
Referenced by __construct().
|
private |
Definition at line 13 of file language.class.php.
Referenced by __construct(), and multi().
|
private |
Definition at line 15 of file language.class.php.
Referenced by __construct(), and selected().
|
private |
Definition at line 14 of file language.class.php.
Referenced by __construct(), and type().