KWeb  6.4
KWebAttribute_Linkage Class Reference
Inheritance diagram for KWebAttribute_Linkage:
KWebAttribute_Checkboxes KWebAttribute KWebAttribute_Interface

Public Member Functions

 __construct ($id, $title, $options, $opt=array())
 addToForm (KWebAttribute_Table_Form $form)
 Adds this attribute's clone to the form, according to form intents ($group and $forms).
 getType ()
 Zwraca nazwę typu .
 getTemplatePrinters ()
 Returns an array of template printers (attribute/edit/__PRINTER.inc)
 isData ()
 Return TRUE if this attribute is a data attribute.
 copyAttributeValue (KWebObject_Attributable $to, KWebObject_Attributable $from)
 setValue (KWebObject_Attributable $object, $value, $lang=false)
 getValue (KWebObject_Attributable $object, $lang=false)
 Zwraca wartość atrybutu elementu z pominięciem konwersji.
 setupLinkage (KWebObject_Attributable $object)
 checkValue (KWebObject_Attributable $object, &$value, $lang=false)
 Checks the value for correctness.

Data Fields

 $linkType = LINK_INSTANCE

Constructor & Destructor Documentation

KWebAttribute_Linkage::__construct ( id,
title,
options,
opt = array() 
)
Parameters:
$optionsLista elementów, do których mają być tworzone dowiązania w postaci: id => nazwa

Reimplemented from KWebAttribute_Checkboxes.


Member Function Documentation

KWebAttribute_Linkage::addToForm ( KWebAttribute_Table_Form form)

Adds this attribute's clone to the form, according to form intents ($group and $forms).

Returns the element.

Returns:
KWebAttribute

Reimplemented from KWebAttribute.

KWebAttribute_Linkage::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_Checkboxes.

KWebAttribute_Linkage::copyAttributeValue ( KWebObject_Attributable to,
KWebObject_Attributable from 
)

Reimplemented from KWebAttribute.

KWebAttribute_Linkage::getTemplatePrinters ( )

Returns an array of template printers (attribute/edit/__PRINTER.inc)

Reimplemented from KWebAttribute.

KWebAttribute_Linkage::getType ( )

Zwraca nazwę typu .

Reimplemented from KWebAttribute_Checkboxes.

KWebAttribute_Linkage::getValue ( KWebObject_Attributable object,
lang = false 
)

Zwraca wartość atrybutu elementu z pominięciem konwersji.

Reimplemented from KWebAttribute.

KWebAttribute_Linkage::isData ( )

Return TRUE if this attribute is a data attribute.

Reimplemented from KWebAttribute.

KWebAttribute_Linkage::setupLinkage ( KWebObject_Attributable object)
KWebAttribute_Linkage::setValue ( KWebObject_Attributable object,
value,
lang = false 
)

Reimplemented from KWebAttribute.


Field Documentation

KWebAttribute_Linkage::$linkType = LINK_INSTANCE

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