Public Member Functions |
| | __construct ($id, KWebObject_Attributable $object, array $options) |
| | getCSSClasses () |
| | getObject () |
| | getLanguage () |
| | Return language for this form.
|
| | isTranslation () |
| | Returns true if form is set up for translation.
|
| | getFormName ($attributeId=false) |
| | Returns form input's names (KWEObj[id][attributeId])
|
| | getFormAttributePostedName ($attributeId=false) |
| | getObjectHint () |
| | Returns object hint for temporary items discovery Hints should not containt object's id.
|
| | setPostedData ($data=null) |
| | Assigns posted data to this form, or let's the form to find the data on it's own...
|
| | isPosted () |
| | isValid () |
| & | getPostedData ($name=false, $reference=false, $default=null) |
| | Returns data posted for this form (in FORMAT_FORM)
|
| | getPostedValue ($id, $useObject=false) |
| | Returns validated posted data in FORMAT_INTERNAL.
|
| | storePostedData () |
| | Stores the posted form's data in the object.
|
| | getErrorStack ($attributeId=false, $create=true) |
| | Returns error stack for this form, or for specific attributes.
|
| | gotErrors ($attributeId) |
| | isAttributePosted ($id) |
| | buildSubgroup ($id) |
| | Creates a typicall subgroup for this group.
|
| | getTemplatePrinters () |
| | getRemoteActionUrl ($attribute, $action=false, $data=false, $requestType=KWebRequest::TYPE_AJAX) |
Data Fields |
| | $postedData |
| | $validData |
Static Public Attributes |
| static | $publicFormOptions |
Protected Member Functions |
| | validate () |
Protected Attributes |
| | $object |
| | $language |
Constructor & Destructor Documentation
Member Function Documentation
| KWebAttribute_Table_Form::buildSubgroup |
( |
$ |
id | ) |
|
| KWebAttribute_Table_Form::getCSSClasses |
( |
| ) |
|
| KWebAttribute_Table_Form::getErrorStack |
( |
$ |
attributeId = false, |
|
|
$ |
create = true |
|
) |
| |
Returns error stack for this form, or for specific attributes.
| KWebAttribute_Table_Form::getFormAttributePostedName |
( |
$ |
attributeId = false | ) |
|
| KWebAttribute_Table_Form::getFormName |
( |
$ |
attributeId = false | ) |
|
Returns form input's names (KWEObj[id][attributeId])
| KWebAttribute_Table_Form::getLanguage |
( |
| ) |
|
Return language for this form.
| KWebAttribute_Table_Form::getObject |
( |
| ) |
|
| KWebAttribute_Table_Form::getObjectHint |
( |
| ) |
|
Returns object hint for temporary items discovery Hints should not containt object's id.
| & KWebAttribute_Table_Form::getPostedData |
( |
$ |
name = false, |
|
|
$ |
reference = false, |
|
|
$ |
default = null |
|
) |
| |
Returns data posted for this form (in FORMAT_FORM)
| KWebAttribute_Table_Form::getPostedValue |
( |
$ |
id, |
|
|
$ |
useObject = false |
|
) |
| |
Returns validated posted data in FORMAT_INTERNAL.
- Parameters:
-
| $useObject | - if TRUE, object's value will be used instead |
| KWebAttribute_Table_Form::getRemoteActionUrl |
( |
$ |
attribute, |
|
|
$ |
action = false, |
|
|
$ |
data = false, |
|
|
$ |
requestType = KWebRequest::TYPE_AJAX |
|
) |
| |
| KWebAttribute_Table_Form::getTemplatePrinters |
( |
| ) |
|
| KWebAttribute_Table_Form::gotErrors |
( |
$ |
attributeId | ) |
|
| KWebAttribute_Table_Form::isAttributePosted |
( |
$ |
id | ) |
|
| KWebAttribute_Table_Form::isPosted |
( |
| ) |
|
| KWebAttribute_Table_Form::isTranslation |
( |
| ) |
|
Returns true if form is set up for translation.
| KWebAttribute_Table_Form::isValid |
( |
| ) |
|
| KWebAttribute_Table_Form::setPostedData |
( |
$ |
data = null | ) |
|
Assigns posted data to this form, or let's the form to find the data on it's own...
- Parameters:
-
- Returns:
- TRUE if the data is valid, and can be stored
| KWebAttribute_Table_Form::storePostedData |
( |
| ) |
|
Stores the posted form's data in the object.
| KWebAttribute_Table_Form::validate |
( |
| ) |
[protected] |
Field Documentation
KWebAttribute_Table_Form::$language [protected] |
KWebAttribute_Table_Form::$object [protected] |
| KWebAttribute_Table_Form::$postedData |
KWebAttribute_Table_Form::$publicFormOptions [static] |
| KWebAttribute_Table_Form::$validData |
The documentation for this class was generated from the following file: