KWeb  6.4
KWebAttribute_Enum Class Reference

Podstawowa klasa do implementowania atrybutow. More...

Inheritance diagram for KWebAttribute_Enum:
KWebAttribute KWebAttribute_Interface

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.

Detailed Description

Podstawowa klasa do implementowania atrybutow.


Constructor & Destructor Documentation

KWebAttribute_Enum::__construct ( id,
title,
options,
opt = array() 
)

Member Function Documentation

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

Returns:
TRUE if the value is ok

Reimplemented from KWebAttribute.

KWebAttribute_Enum::getOptions ( )
KWebAttribute_Enum::getType ( )

Zwraca nazwę typu .

Reimplemented from KWebAttribute.


Field Documentation

KWebAttribute_Enum::$options = array()

Lista elementów (select) $options deklarowane jest jako klucz => tytuł gdzie klucz jest kluczem w tablicy wartości.


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