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

Public Member Functions

 __construct ($caption, $type=0, $class='', $desc='')
 
 getType ($type)
 
 render ()
 
 setType ($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)
 

Public Attributes

 $_type
 

Additional Inherited Members

- Static Public Attributes inherited from RMFormElement
static $elementsIds = array()
 

Detailed Description

Clase para la generaciĆ³n y manejo de subtitulos en la tabla del formulario

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

Constructor & Destructor Documentation

RMFormSubTitle::__construct (   $caption,
  $type = 0,
  $class = '',
  $desc = '' 
)
Parameters
string$captionTexto del subtitulo
int$type0 = th, 1 = td
string$classsolo si $type = 1

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

References $class, $type, RMFormElement\setCaption(), RMFormElement\setClass(), RMFormElement\setDescription(), and RMFormElement\setName().

Here is the call graph for this function:

Member Function Documentation

RMFormSubTitle::getType (   $type)

Devuelve el tipo de t?tulo

Returns
int

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

References $_type.

RMFormSubTitle::render ( )

Generamos el c?sigo HTML para crear el subt?tulo.

Returns
string

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

References $rtn, and RMFormElement\getCaption().

Here is the call graph for this function:

RMFormSubTitle::setType (   $type)

Establece el tipo de titulo. 0 = TH, 1 = TD

Parameters
int$typeTipo de t?tulo

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

References $type.

Member Data Documentation

RMFormSubTitle::$_type

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

Referenced by getType().


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