KWeb  6.4
KWebAttribute_Fields Class Reference

Full form (FormGroup) in one field, stored as an object. More...

Inheritance diagram for KWebAttribute_Fields:
KWebAttribute KWebAttribute_Interface

Public Member Functions

 __construct ($id, $title, $form, $opt=array())
 getType ()
 Zwraca nazwÄ™ typu .
 prefillValues (KWebAttribute_Table_Form $form)
 getPostedData (KWebAttribute_Table_Form $form)
 Returns data posted in the form for this attribute (in FORMAT_FORM)
 checkValue (KWebObject_Attributable $object, &$value, $lang=false)
 Checks the value for correctness.

Data Fields

 $form

Protected Member Functions

 setupFormGroup (KWebAttribute_Table_Form $form)

Detailed Description

Full form (FormGroup) in one field, stored as an object.


Constructor & Destructor Documentation

KWebAttribute_Fields::__construct ( id,
title,
form,
opt = array() 
)

Member Function Documentation

KWebAttribute_Fields::checkValue ( KWebObject_Attributable object,
&$  value,
lang = false 
)

Checks the value for correctness.

Value is in FORMAT_INTERNAL. In case of severe problem, an Exception may be thrown Value may be altered if necessary

Returns:
TRUE if the value is ok

Reimplemented from KWebAttribute.

KWebAttribute_Fields::getPostedData ( KWebAttribute_Table_Form form)

Returns data posted in the form for this attribute (in FORMAT_FORM)

Reimplemented from KWebAttribute.

KWebAttribute_Fields::getType ( )

Zwraca nazwÄ™ typu .

Reimplemented from KWebAttribute.

KWebAttribute_Fields::prefillValues ( KWebAttribute_Table_Form form)
KWebAttribute_Fields::setupFormGroup ( KWebAttribute_Table_Form form) [protected]

Field Documentation

KWebAttribute_Fields::$form

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