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

Public Member Functions

 __construct ($caption, $name, $inicial=0)
 getValue ()
 render ()
 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)

Public Attributes

 $_value = ''

Additional Inherited Members

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

Detailed Description

Clase para la generacin y manejo de campos Yes/No (radios).

Definition at line 176 of file checks.class.php.

Constructor & Destructor Documentation

RMFormYesNo::__construct (   $caption,
  $inicial = 0 
string$captionTexto de la etiqueta
string$nameNombre dle campo
int$inicialValor inicial (0 = No, 1 = S)

Definition at line 184 of file checks.class.php.

References RMFormElement\getName(), RMFormElement\setCaption(), and RMFormElement\setName().

Here is the call graph for this function:

Member Function Documentation

RMFormYesNo::getValue ( )

Devuelve el valor inicial del elemento


Definition at line 200 of file checks.class.php.

References $_value.

RMFormYesNo::render ( )

Genera el cdigo HTML para mostrar el campo


Definition at line 207 of file checks.class.php.

References $rtn, and RMFormElement\getName().

Here is the call graph for this function:

RMFormYesNo::setValue (   $value)

Establece el valor incial del elemento

int$value0 = no, 1 = S

Definition at line 193 of file checks.class.php.

Member Data Documentation

RMFormYesNo::$_value = ''

Definition at line 178 of file checks.class.php.

Referenced by getValue().

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