KWeb  6.4
FormPanel Class Reference

Tworzy panel składający się z podelementów. More...

Inheritance diagram for FormPanel:
FormItem FormGroup

Public Member Functions

 __construct ($name= '', $title= '', $info= '', $data=array(), $nameFormat= '%s', $idFormat=false)
 getType ()
 isPanel ()
 isTabelized ()
 getPosted ($name)
 Returns data from the query.
 setPosted ($name, $value)
 isSubmitted ()
 makeFormName ($name)
 makeIdName ($name)
 add ($value, $index=-1, $insertAfter=false)
 remove ($field)
 contains ($name)
 isValid ()
 validate ()
 printValue ($printer)
 printValues ($printer)
 printHidden ($printer)
 printRow ($printer)
 printRowContent ($printer)
 getValue ($suffix= '')
 getFormValues ($skipEmpty=true, $skipNames=false)
 Returns all values as a flat array with form names.
 setValue ($values, $suffix= '')
 clear ($suffix= '')
 getField ($name, $recurse=true)
 getFieldValue ($name, $recurse=true, $suffix= '')
 setFieldValue ($name, $v, $recurse=true, $suffix= '')

Data Fields

 $values = array()
 $nameFormat
 $idFormat
 $fullRow = false
 $printer = false

Detailed Description

Tworzy panel składający się z podelementów.

w data submitted może sterować działaniem "isSubmitted"


Constructor & Destructor Documentation

FormPanel::__construct ( $  name = '',
$  title = '',
$  info = '',
$  data = array(),
$  nameFormat = '%s',
$  idFormat = false 
)

Member Function Documentation

FormPanel::add ( $  value,
$  index = -1,
$  insertAfter = false 
)
FormPanel::clear ( $  suffix = '')
FormPanel::contains ( $  name)
FormPanel::getField ( $  name,
$  recurse = true 
)
Returns:
FormValue
FormPanel::getFieldValue ( $  name,
$  recurse = true,
$  suffix = '' 
)
FormPanel::getFormValues ( $  skipEmpty = true,
$  skipNames = false 
)

Returns all values as a flat array with form names.

FormPanel::getPosted ( $  name)

Returns data from the query.

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

Reimplemented in FormGroup.

FormPanel::getType ( )

Reimplemented from FormItem.

Reimplemented in FormGroup.

FormPanel::getValue ( $  suffix = '')
FormPanel::isPanel ( )

Reimplemented from FormItem.

FormPanel::isSubmitted ( )

Reimplemented from FormItem.

Reimplemented in FormGroup.

FormPanel::isTabelized ( )
FormPanel::isValid ( )

Reimplemented from FormItem.

FormPanel::makeFormName ( $  name)
FormPanel::makeIdName ( $  name)
FormPanel::printHidden ( $  printer)

Reimplemented from FormItem.

FormPanel::printRow ( $  printer)
Parameters:
$printerFormPrinter

Reimplemented from FormItem.

FormPanel::printRowContent ( $  printer)
Parameters:
$printerFormPrinter

Reimplemented from FormItem.

FormPanel::printValue ( $  printer)
Parameters:
$printerFormPrinter

Reimplemented from FormItem.

FormPanel::printValues ( $  printer)
FormPanel::remove ( $  field)
FormPanel::setFieldValue ( $  name,
$  v,
$  recurse = true,
$  suffix = '' 
)
FormPanel::setPosted ( $  name,
$  value 
)

Reimplemented in FormGroup.

FormPanel::setValue ( $  values,
$  suffix = '' 
)
FormPanel::validate ( )

Reimplemented from FormItem.


Field Documentation

FormPanel::$fullRow = false
FormPanel::$idFormat
FormPanel::$nameFormat
FormPanel::$printer = false
FormPanel::$values = array()

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