|
XOOPS RMCommon Utilities
2.1.8.91RC
|

Public Member Functions | |
| __construct ($caption, $name, $rows=4, $cols=45, $value='', $width='', $height='') | |
| getCols () | |
| getRows () | |
| getValue () | |
| render () | |
| setCols ($cols) | |
| setRows ($rows) | |
| setValue ($value) | |
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 = 45 | |
| $_rows = 4 | |
| $_value = '' | |
| $height = '' | |
| $width = '' | |
Additional Inherited Members | |
Static Public Attributes inherited from RMFormElement | |
| static | $elementsIds = array() |
Clase para la generación y manejo de campos TEXTAREA
Definition at line 167 of file text.class.php.
| RMFormTextArea::__construct | ( | $caption, | |
| $name, | |||
$rows = 4, |
|||
$cols = 45, |
|||
$value = '', |
|||
$width = '', |
|||
$height = '' |
|||
| ) |
| string | $caption | Texto de la etiqueta |
| string | $name | Nombre del campo |
| int | $rows | N?mero de filas del campo |
| int | $cols | N?mero de columnas del campo |
| string | $value | Texto inicial del campo |
| string | $width | Ancho del campo formateado para estilo CSS |
| string | $height | Alto del campo formateado para estilo CSS |
Definition at line 184 of file text.class.php.
References $cols, $height, $width, height, RMFormElement\setCaption(), and RMFormElement\setName().

| RMFormTextArea::getCols | ( | ) |
Devuelve el n?mero de columnas del campo
Definition at line 218 of file text.class.php.
References $_cols.
| RMFormTextArea::getRows | ( | ) |
Devuelve el n?mero de filas del campo
Definition at line 204 of file text.class.php.
References $_rows.
| RMFormTextArea::getValue | ( | ) |
Devuelve el texto inicial del campo
Definition at line 232 of file text.class.php.
References $_value.
| RMFormTextArea::render | ( | ) |
Devuelve el código HTML para mostrar el campo
Definition at line 239 of file text.class.php.
References $_value, $ret, RMFormElement\getClass(), RMFormElement\getExtra(), RMFormElement\getName(), height, and RMFormElement\id().

| RMFormTextArea::setCols | ( | $cols | ) |
Establece el n?mero de columnas del campo
| int | $cols | N?mero de columnas |
Definition at line 211 of file text.class.php.
References $cols.
| RMFormTextArea::setRows | ( | $rows | ) |
Establece el n?mero de filas del campo.
| int | $rows | N?mero de filas |
Definition at line 197 of file text.class.php.
| RMFormTextArea::setValue | ( | $value | ) |
Establece el texto inicial del campo
| string | $value | Texto inicial |
Definition at line 225 of file text.class.php.
|
private |
Definition at line 170 of file text.class.php.
Referenced by getCols().
|
private |
Definition at line 169 of file text.class.php.
Referenced by getRows().
|
private |
Definition at line 171 of file text.class.php.
Referenced by getValue(), and render().
|
private |
Definition at line 173 of file text.class.php.
Referenced by __construct().
|
private |
Definition at line 172 of file text.class.php.
Referenced by __construct().