KWeb  6.4
FormGroup Class Reference
Inheritance diagram for FormGroup:
FormPanel FormItem

Public Member Functions

 __construct ($name='', $nameFormat=false, $idFormat=false, $method= 'POST')
 getType ()
 setPostedData (&$data)
 getPosted ($name)
 Returns data from the query.
 setPosted ($name, $value)
 isSubmitted ()
 isConfirming ()
 setSubmitted ($v)
 getUrl ()
 getMethod ()
 printForm ($printer)
 getError ($title= '', $errorId=false)
 Returns the error message.

Data Fields

 $submitted = null
 $posted
 $url
 $method
 $confirm = false
 $errorFormat = 'Musisz prawidłowo wypełnić pole %s'

Constructor & Destructor Documentation

FormGroup::__construct ( name = '',
nameFormat = false,
idFormat = false,
method = 'POST' 
)

Reimplemented from FormItem.


Member Function Documentation

FormGroup::getError ( fieldTitle = '',
errorId = false 
)

Returns the error message.

Parameters:
$fieldTitle- title of the field
$errorId- Id of an error, or false fo default message

Reimplemented from FormItem.

FormGroup::getMethod ( )
FormGroup::getPosted ( name)

Returns data from the query.

Parameters:
$nameName of the data parameter. Must be prepared earlier!

Reimplemented from FormPanel.

FormGroup::getType ( )

Reimplemented from FormPanel.

FormGroup::getUrl ( )
FormGroup::isConfirming ( )
FormGroup::isSubmitted ( )

Reimplemented from FormPanel.

FormGroup::printForm ( printer)
Parameters:
FormPrinter$printer
FormGroup::setPosted ( name,
value 
)

Reimplemented from FormPanel.

FormGroup::setPostedData ( &$  data)
FormGroup::setSubmitted ( v)

Field Documentation

FormGroup::$confirm = false
FormGroup::$errorFormat = 'Musisz prawidłowo wypełnić pole %s'
FormGroup::$method
FormGroup::$posted
FormGroup::$submitted = null
FormGroup::$url

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