Xataface 2.0
Xataface Application Framework
Public Member Functions | Data Fields
HTML_QuickForm_optionalelement Class Reference

Public Member Functions

 HTML_QuickForm_optionalelement ($elementName=null, $elementLabel=null, $attributes=null)
 addField (&$element)
 setName ($name)
 getName ()
 setValue ($value)
 getValue ()
 toHtml ()
 getFrozenHtml ()

Data Fields

 $fields = array()
 $subgroup = false
 $value

Detailed Description

HTML class for a textarea type field

Author:
Steve Hannah <shannah@sfu.ca>
Version:
0.1.0
Since:
PHP4.04pl1 public

Definition at line 22 of file optionalelement.php.


Member Function Documentation

addField ( &$  element)

Definition at line 56 of file optionalelement.php.

getFrozenHtml ( )

Returns the value of field without HTML tags

Since:
1.0 public
Returns:
string

Definition at line 179 of file optionalelement.php.

getName ( )

Definition at line 67 of file optionalelement.php.

getValue ( )

Definition at line 91 of file optionalelement.php.

HTML_QuickForm_optionalelement ( elementName = null,
elementLabel = null,
attributes = null 
)

Definition at line 45 of file optionalelement.php.

setName ( name)

Definition at line 62 of file optionalelement.php.

setValue ( value)

Definition at line 72 of file optionalelement.php.

toHtml ( )

Returns the textarea element in HTML

Since:
1.0 public
Returns:
string

Definition at line 108 of file optionalelement.php.


Field Documentation

$fields = array()

The fields that there are to choose from to add to the form.

Definition at line 27 of file optionalelement.php.

$subgroup = false

The name of this field. var $name = '';

/** Indicates whether fields created with this element should be placed in a subgroup or placed directly onto the form at root level.

Definition at line 37 of file optionalelement.php.

$value

The value of this field.

Definition at line 42 of file optionalelement.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations