XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
RMFormTextArea Class Reference
Inheritance diagram for RMFormTextArea:
Inheritance graph

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()
 

Detailed Description

Clase para la generación y manejo de campos TEXTAREA

Definition at line 167 of file text.class.php.

Constructor & Destructor Documentation

RMFormTextArea::__construct (   $caption,
  $name,
  $rows = 4,
  $cols = 45,
  $value = '',
  $width = '',
  $height = '' 
)
Parameters
string$captionTexto de la etiqueta
string$nameNombre del campo
int$rowsN?mero de filas del campo
int$colsN?mero de columnas del campo
string$valueTexto inicial del campo
string$widthAncho del campo formateado para estilo CSS
string$heightAlto 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().

Here is the call graph for this function:

Member Function Documentation

RMFormTextArea::getCols ( )

Devuelve el n?mero de columnas del campo

Returns
int

Definition at line 218 of file text.class.php.

References $_cols.

RMFormTextArea::getRows ( )

Devuelve el n?mero de filas del campo

Returns
int

Definition at line 204 of file text.class.php.

References $_rows.

RMFormTextArea::getValue ( )

Devuelve el texto inicial del campo

Returns
string

Definition at line 232 of file text.class.php.

References $_value.

RMFormTextArea::render ( )

Devuelve el código HTML para mostrar el campo

Returns
string

Definition at line 239 of file text.class.php.

References $_value, $ret, RMFormElement\getClass(), RMFormElement\getExtra(), RMFormElement\getName(), height, and RMFormElement\id().

Here is the call graph for this function:

RMFormTextArea::setCols (   $cols)

Establece el n?mero de columnas del campo

Parameters
int$colsN?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.

Parameters
int$rowsN?mero de filas

Definition at line 197 of file text.class.php.

RMFormTextArea::setValue (   $value)

Establece el texto inicial del campo

Parameters
string$valueTexto inicial

Definition at line 225 of file text.class.php.

Member Data Documentation

RMFormTextArea::$_cols = 45
private

Definition at line 170 of file text.class.php.

Referenced by getCols().

RMFormTextArea::$_rows = 4
private

Definition at line 169 of file text.class.php.

Referenced by getRows().

RMFormTextArea::$_value = ''
private

Definition at line 171 of file text.class.php.

Referenced by getValue(), and render().

RMFormTextArea::$height = ''
private

Definition at line 173 of file text.class.php.

Referenced by __construct().

RMFormTextArea::$width = ''
private

Definition at line 172 of file text.class.php.

Referenced by __construct().


The documentation for this class was generated from the following file: