KWeb
6.4
|
Public Member Functions | |
__construct ($title) | |
getType () | |
Zwraca nazwę typu . | |
canEdit (KWebObject_Attributable $object, $lang=false) | |
Czy można element edytować? . | |
isData () | |
Return TRUE if this attribute is a data attribute. | |
storePostedFormData (KWebAttribute_Table_Form $form, $value) | |
Stores attribute's data in the object... | |
onFormPostStored (KWebAttribute_Table_Form $form, $success) | |
Called from KWebAttribute_Table_Form::storePostedData, after successfully storing all the posted data. | |
getValue (KWebObject_Attributable $object, $lang=false) | |
Zwraca wartość atrybutu elementu z pominięciem konwersji. | |
checkValue (KWebObject_Attributable $object, &$value, $lang=false) | |
Checks the value for correctness. |
KWebAttribute_Item_Language::__construct | ( | $ | title | ) |
KWebAttribute_Item_Language::canEdit | ( | KWebObject_Attributable $ | object, |
$ | lang = false |
||
) |
Czy można element edytować? .
Reimplemented from KWebAttribute.
KWebAttribute_Item_Language::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
Reimplemented from KWebAttribute.
KWebAttribute_Item_Language::getType | ( | ) |
Zwraca nazwę typu .
Reimplemented from KWebAttribute.
KWebAttribute_Item_Language::getValue | ( | KWebObject_Attributable $ | object, |
$ | lang = false |
||
) |
Zwraca wartość atrybutu elementu z pominięciem konwersji.
Reimplemented from KWebAttribute.
KWebAttribute_Item_Language::isData | ( | ) |
Return TRUE if this attribute is a data attribute.
Reimplemented from KWebAttribute.
KWebAttribute_Item_Language::onFormPostStored | ( | KWebAttribute_Table_Form $ | form, |
$ | success | ||
) |
Called from KWebAttribute_Table_Form::storePostedData, after successfully storing all the posted data.
Reimplemented from KWebAttribute.
KWebAttribute_Item_Language::storePostedFormData | ( | KWebAttribute_Table_Form $ | form, |
$ | value | ||
) |
Stores attribute's data in the object...
Data is already validated and converted to FORMAT_INTERNAL. This function is called for EVERY attribute with an id, even those, that were not posted.
You should check if it is posted ($form->isAttributedPosted()), and act accordingly.
Data is in FORMAT_INTERNAL
Reimplemented from KWebAttribute.