|
XOOPS RMCommon Utilities
2.1.8.91RC
|

Public Member Functions | |
| __construct ($caption, $name, $multi=false, $select=array(), $limit=36, $width=600, $height=300, $showall=0, $enable=true) | |
| button ($enable) | |
| onChange ($action) | |
| 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 | |
| $_onchange = '' | |
| $can_change = true | |
| $height = 500 | |
| $limit = 100 | |
| $multi = false | |
| $selected = array() | |
| $showall = 0 | |
| $width = 600 | |
Additional Inherited Members | |
Static Public Attributes inherited from RMFormElement | |
| static | $elementsIds = array() |
Clase para el manejo de campos de formulario de tipo usuarios
Definition at line 14 of file formuser.class.php.
| RMFormUser::__construct | ( | $caption, | |
| $name, | |||
$multi = false, |
|||
$select = array(), |
|||
$limit = 36, |
|||
$width = 600, |
|||
$height = 300, |
|||
$showall = 0, |
|||
$enable = true |
|||
| ) |
| string | Texto del campo |
| string | Nombre del Campo |
| bool | Seleccion múltiple |
| array | Valores seleccionados por defecto |
| int | Limite de resultados por página de usuarios |
| int | Ancho de la ventana |
| int | Alto de la ventana |
Definition at line 36 of file formuser.class.php.
References $height, $limit, $multi, $showall, $width, height, RMFormElement\setCaption(), and RMFormElement\setName().

| RMFormUser::button | ( | $enable | ) |
Definition at line 50 of file formuser.class.php.
| RMFormUser::onChange | ( | $action | ) |
Crea un manejador para el evento onchange
Definition at line 57 of file formuser.class.php.
References $action.
| RMFormUser::render | ( | ) |
Show the Users field This field needs that form.css, jquery.css and forms.js would be included.
Definition at line 65 of file formuser.class.php.
References $db, $id, $result, $rtn, $selected, $sql, __(), RMTemplate\get(), RMFormElement\getExtra(), RMFormElement\getName(), height, RMFormElement\id(), and RMCURL.

|
private |
Definition at line 25 of file formuser.class.php.
|
private |
Definition at line 22 of file formuser.class.php.
|
private |
Definition at line 20 of file formuser.class.php.
Referenced by __construct().
|
private |
Definition at line 17 of file formuser.class.php.
Referenced by __construct().
|
private |
Definition at line 18 of file formuser.class.php.
Referenced by __construct().
|
private |
Definition at line 16 of file formuser.class.php.
Referenced by render().
|
private |
Definition at line 21 of file formuser.class.php.
Referenced by __construct().
|
private |
Definition at line 19 of file formuser.class.php.
Referenced by __construct().