XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
__construct ($caption, $name, $multi=0, $type=0, $selected=null, $cols=2, $insert=null, $dirnames=true, $subpages=0) | |
dirnames () | |
inserted () | |
multi () | |
render () | |
selected () | |
setDirNames ($value=true) | |
setInserted ($value) | |
setMulti ($value) | |
setSelected ($value) | |
setSizeOrCols ($value) | |
setType ($value) | |
sizeOrCols () | |
subpages ($subs) | |
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 | |
$dirnames = true | |
$inserted = array() | |
$multi = 0 | |
$selected = null | |
$selectedSubPages = array() | |
$subpages = 0 | |
$type = 0 | |
Additional Inherited Members | |
Static Public Attributes inherited from RMFormElement | |
static | $elementsIds = array() |
Definition at line 12 of file modules.class.php.
RMFormModules::__construct | ( | $caption, | |
$name, | |||
$multi = 0 , |
|||
$type = 0 , |
|||
$selected = null , |
|||
$cols = 2 , |
|||
$insert = null , |
|||
$dirnames = true , |
|||
$subpages = 0 |
|||
) |
Constructor
string | $caption | |
string | $name | Nombre del campo |
int | $multi | Selecciona multiple activada o desactivada |
int | $type | 0 = Select, 1 = Tabla |
array | $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 |
array | $insert | Array con valores para agregar a la lista |
bool | $dirnames | Devolver nombres de directorios (true) o ids (false) |
int | Mostrar Subpáginas |
Definition at line 36 of file modules.class.php.
References $cols, $dirnames, $multi, $selected, $subpages, $type, dirnames(), inserted(), multi(), selected(), RMFormElement\setCaption(), RMFormElement\setName(), subpages(), and type().
RMFormModules::dirnames | ( | ) |
Definition at line 87 of file modules.class.php.
References $dirnames.
Referenced by __construct(), and setDirNames().
RMFormModules::inserted | ( | ) |
Definition at line 75 of file modules.class.php.
References $inserted.
Referenced by __construct(), render(), and setInserted().
RMFormModules::multi | ( | ) |
Definition at line 48 of file modules.class.php.
References $multi.
Referenced by __construct(), render(), and setMulti().
RMFormModules::render | ( | ) |
Mostramos las subpáginas
Definition at line 107 of file modules.class.php.
References $i, $inserted, $modules, $page, $rtn, $selected, $selectedSubPages, $subpages, __(), RMTemplate\get(), RMFormElement\getName(), RMFormElement\id(), inserted(), RMFunctions\load_module(), multi(), selected(), subpages(), and type().
RMFormModules::selected | ( | ) |
Definition at line 63 of file modules.class.php.
References $selected.
Referenced by __construct(), render(), and setSelected().
RMFormModules::setDirNames | ( | $value = true | ) |
Establece si se devuelven los valores con el nombre del directorio del módulo o con el identificador del módulo
bool | $value |
Definition at line 96 of file modules.class.php.
References dirnames().
RMFormModules::setInserted | ( | $value | ) |
Inserta nuevas opciones en el campo
array | $value | Array con valor=>caption para las opciones a insertar |
Definition at line 82 of file modules.class.php.
References inserted().
RMFormModules::setMulti | ( | $value | ) |
Definition at line 51 of file modules.class.php.
References multi().
RMFormModules::setSelected | ( | $value | ) |
Definition at line 66 of file modules.class.php.
References selected().
RMFormModules::setSizeOrCols | ( | $value | ) |
Definition at line 72 of file modules.class.php.
RMFormModules::setType | ( | $value | ) |
Definition at line 60 of file modules.class.php.
References type().
RMFormModules::sizeOrCols | ( | ) |
Definition at line 69 of file modules.class.php.
References $cols.
RMFormModules::subpages | ( | $subs | ) |
Establece las subpáginas seleccionadas por defecto
array | Subpáginas seleccionadas |
Definition at line 103 of file modules.class.php.
Referenced by __construct(), and render().
RMFormModules::type | ( | ) |
Definition at line 57 of file modules.class.php.
References $type.
Referenced by __construct(), render(), and setType().
|
private |
Definition at line 17 of file modules.class.php.
Referenced by __construct(), and sizeOrCols().
|
private |
Definition at line 19 of file modules.class.php.
Referenced by __construct(), and dirnames().
|
private |
Definition at line 18 of file modules.class.php.
Referenced by inserted(), and render().
|
private |
Definition at line 14 of file modules.class.php.
Referenced by __construct(), and multi().
|
private |
Definition at line 16 of file modules.class.php.
Referenced by __construct(), render(), and selected().
|
private |
Definition at line 21 of file modules.class.php.
Referenced by render().
|
private |
Definition at line 20 of file modules.class.php.
Referenced by __construct(), and render().
|
private |
Definition at line 15 of file modules.class.php.
Referenced by __construct(), and type().