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

Public Member Functions

 __construct ($caption, $name, $multi=0, $type=0, $selected=null, $cols=2, $section='')
 
 multi ()
 
 render ()
 
 selected ()
 
 setMulti ($value)
 
 setSelected ($value)
 
 setType ($value)
 
 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
 
 $multi = 0
 
 $section = ''
 
 $selected = array()
 
 $type = 0
 

Additional Inherited Members

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

Detailed Description

Definition at line 11 of file theme.class.php.

Constructor & Destructor Documentation

RMFormTheme::__construct (   $caption,
  $name,
  $multi = 0,
  $type = 0,
  $selected = null,
  $cols = 2,
  $section = '' 
)

Constructor

Parameters
string$caption
string$nameNombre del campo
int$multiSelecciona multiple activada o desactivada
int$type0 = Select, 1 = Tabla
int$selectedValor seleccionado por defecto
array$selectedGrupo de vlores seleccionado por defecto
int$colsNumero de columnas para la tabla o filas para un campo select multi
string'GUI' for admin theme

Definition at line 30 of file theme.class.php.

References $cols, $multi, $section, $selected, $type, multi(), selected(), RMFormElement\setCaption(), RMFormElement\setName(), and type().

Here is the call graph for this function:

Member Function Documentation

RMFormTheme::multi ( )

Definition at line 39 of file theme.class.php.

References $multi.

Referenced by __construct(), render(), and setMulti().

Here is the caller graph for this function:

RMFormTheme::render ( )

Definition at line 58 of file theme.class.php.

References $dir, $dirs, $rtn, RMFormElement\id(), multi(), selected(), and type().

Here is the call graph for this function:

RMFormTheme::selected ( )

Definition at line 51 of file theme.class.php.

References $selected.

Referenced by __construct(), render(), and setSelected().

Here is the caller graph for this function:

RMFormTheme::setMulti (   $value)

Definition at line 42 of file theme.class.php.

References multi().

Here is the call graph for this function:

RMFormTheme::setSelected (   $value)

Definition at line 54 of file theme.class.php.

References selected().

Here is the call graph for this function:

RMFormTheme::setType (   $value)

Definition at line 48 of file theme.class.php.

References type().

Here is the call graph for this function:

RMFormTheme::type ( )

Definition at line 45 of file theme.class.php.

References $type.

Referenced by __construct(), render(), and setType().

Here is the caller graph for this function:

Member Data Documentation

RMFormTheme::$cols = 2
private

Definition at line 16 of file theme.class.php.

Referenced by __construct().

RMFormTheme::$multi = 0
private

Definition at line 13 of file theme.class.php.

Referenced by __construct(), and multi().

RMFormTheme::$section = ''
private

Definition at line 17 of file theme.class.php.

Referenced by __construct().

RMFormTheme::$selected = array()
private

Definition at line 15 of file theme.class.php.

Referenced by __construct(), and selected().

RMFormTheme::$type = 0
private

Definition at line 14 of file theme.class.php.

Referenced by __construct(), and type().


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