XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
__construct ($caption, $name, $multi=0, $type=0, $selected=null, $cols=2, $section='') | |
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 | |
$section = '' | |
$selected = array() | |
$type = 0 | |
Additional Inherited Members | |
Static Public Attributes inherited from RMFormElement | |
static | $elementsIds = array() |
Definition at line 11 of file theme.class.php.
RMFormTheme::__construct | ( | $caption, | |
$name, | |||
$multi = 0 , |
|||
$type = 0 , |
|||
$selected = null , |
|||
$cols = 2 , |
|||
$section = '' |
|||
) |
Constructor
string | $caption | |
string | $name | Nombre del campo |
int | $multi | Selecciona multiple activada o desactivada |
int | $type | 0 = Select, 1 = Tabla |
int | $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 |
string | 'GUI' for admin theme |
Definition at line 30 of file theme.class.php.
References $cols, $multi, $section, $selected, $type, multi(), selected(), RMFormElement\setCaption(), RMFormElement\setName(), and type().
RMFormTheme::multi | ( | ) |
Definition at line 39 of file theme.class.php.
References $multi.
Referenced by __construct(), render(), and setMulti().
RMFormTheme::render | ( | ) |
Definition at line 58 of file theme.class.php.
References $dir, $dirs, $rtn, RMFormElement\id(), multi(), selected(), and type().
RMFormTheme::selected | ( | ) |
Definition at line 51 of file theme.class.php.
References $selected.
Referenced by __construct(), render(), and setSelected().
RMFormTheme::setMulti | ( | $value | ) |
Definition at line 42 of file theme.class.php.
References multi().
RMFormTheme::setSelected | ( | $value | ) |
Definition at line 54 of file theme.class.php.
References selected().
RMFormTheme::setType | ( | $value | ) |
Definition at line 48 of file theme.class.php.
References type().
RMFormTheme::type | ( | ) |
Definition at line 45 of file theme.class.php.
References $type.
Referenced by __construct(), render(), and setType().
|
private |
Definition at line 16 of file theme.class.php.
Referenced by __construct().
|
private |
Definition at line 13 of file theme.class.php.
Referenced by __construct(), and multi().
|
private |
Definition at line 17 of file theme.class.php.
Referenced by __construct().
|
private |
Definition at line 15 of file theme.class.php.
Referenced by __construct(), and selected().
|
private |
Definition at line 14 of file theme.class.php.
Referenced by __construct(), and type().