|
KWeb
6.4
|
Podstawowa klasa do implementowania atrybutow. More...
Public Member Functions | |
| __construct ($id, $title, $options, $opt=array()) | |
| getType () | |
| Zwraca nazwę typu . | |
| getOptions () | |
| checkValue (KWebObject_Attributable $object, &$value, $lang=false) | |
| Checks the value for correctness. | |
Data Fields | |
| $options = array() | |
| Lista elementów (select) $options deklarowane jest jako klucz => tytuł gdzie klucz jest kluczem w tablicy wartości. | |
Podstawowa klasa do implementowania atrybutow.
| KWebAttribute_Enum::__construct | ( | $ | id, |
| $ | title, | ||
| $ | options, | ||
| $ | opt = array() |
||
| ) |
| KWebAttribute_Enum::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_Enum::getOptions | ( | ) |
| KWebAttribute_Enum::getType | ( | ) |
Zwraca nazwę typu .
Reimplemented from KWebAttribute.
| KWebAttribute_Enum::$options = array() |
Lista elementów (select) $options deklarowane jest jako klucz => tytuł gdzie klucz jest kluczem w tablicy wartości.