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

Public Member Functions

 __construct ($caption, $name, $multi=0, $type=0, $selected=null, $cols=2)
 
 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
 
 $selected = array()
 
 $type = 0
 

Additional Inherited Members

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

Detailed Description

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

Constructor & Destructor Documentation

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

Constructor

Parameters
string$caption
string$nameNombre del campo
int$multiSelecciona multiple activada o desactivada
int$type0 = Select, 1 = Tabla
$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

Definition at line 28 of file language.class.php.

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

Here is the call graph for this function:

Member Function Documentation

RMFormLanguageField::multi ( )

Definition at line 36 of file language.class.php.

References $multi.

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

Here is the caller graph for this function:

RMFormLanguageField::render ( )

Definition at line 55 of file language.class.php.

References $file, $files, $i, $rtn, RMFormElement\id(), multi(), selected(), and type().

Here is the call graph for this function:

RMFormLanguageField::selected ( )

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

References $selected.

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

Here is the caller graph for this function:

RMFormLanguageField::setMulti (   $value)

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

References multi().

Here is the call graph for this function:

RMFormLanguageField::setSelected (   $value)

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

References selected().

Here is the call graph for this function:

RMFormLanguageField::setType (   $value)

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

References type().

Here is the call graph for this function:

RMFormLanguageField::type ( )

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

References $type.

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

Here is the caller graph for this function:

Member Data Documentation

RMFormLanguageField::$cols = 2
private

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

Referenced by __construct().

RMFormLanguageField::$multi = 0
private

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

Referenced by __construct(), and multi().

RMFormLanguageField::$selected = array()
private

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

Referenced by __construct(), and selected().

RMFormLanguageField::$type = 0
private

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

Referenced by __construct(), and type().


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