FormElement Class Reference

Inheritance diagram for FormElement:
FieldSet Input SelectBox TextArea Button InputCheckbox InputFile InputHidden InputPassword InputRadio InputText

Public Member Functions

 render ()
 renderElement ()
 renderLabel ()
 setName ($name)
 getName ()
 setId ($id)
 getId ()
 setLabel ($label)
 getLabel ()
 setValue ($value)
 getValue ()
 setRequired ($required=true)
 isRequired ()
 setOptionList ($optionList)
 getOptionList ()

Protected Attributes

 $name
 $id
 $label
 $value
 $required
 $optionList

Private Member Functions

 __construct ($name)

Detailed Description

Definition at line 100 of file form.class.php.


Constructor & Destructor Documentation

__construct ( name  )  [private]

Member Function Documentation

getId (  ) 

Definition at line 155 of file form.class.php.

getLabel (  ) 

Definition at line 165 of file form.class.php.

getName (  ) 

Definition at line 145 of file form.class.php.

getOptionList (  ) 

Definition at line 195 of file form.class.php.

getValue (  ) 

Reimplemented in SelectBox.

Definition at line 175 of file form.class.php.

isRequired (  ) 

Definition at line 185 of file form.class.php.

render (  ) 

Reimplemented in InputHidden, InputCheckbox, InputRadio, and FieldSet.

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

renderElement (  ) 

Reimplemented in Input, Button, TextArea, and SelectBox.

Definition at line 130 of file form.class.php.

renderLabel (  ) 

Reimplemented in Input, InputHidden, Button, TextArea, and SelectBox.

Definition at line 135 of file form.class.php.

setId ( id  ) 

Definition at line 150 of file form.class.php.

setLabel ( label  ) 

Definition at line 160 of file form.class.php.

setName ( name  ) 

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

setOptionList ( optionList  ) 

Definition at line 190 of file form.class.php.

setRequired ( required = true  ) 

Definition at line 180 of file form.class.php.

setValue ( value  ) 

Reimplemented in SelectBox.

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


Field Documentation

$id [protected]

Definition at line 103 of file form.class.php.

$label [protected]

Definition at line 104 of file form.class.php.

$name [protected]

Definition at line 102 of file form.class.php.

$optionList [protected]

Definition at line 107 of file form.class.php.

$required [protected]

Definition at line 106 of file form.class.php.

$value [protected]

Definition at line 105 of file form.class.php.


The documentation for this class was generated from the following file:
Generated on Tue Jun 8 12:28:38 2010 for Claroline API by  doxygen 1.6.3