KWeb  6.4
KWebItemInfo Class Reference
Inheritance diagram for KWebItemInfo:
KWebItem KWebObject_Translateable KWebObject_Attributable KWebObject KWebItem_Art KWebItem_Dir KWebItem_Download KWebItem_Inc KWebItem_NewsList KWebItem_Redirect

Public Member Functions

 getInfo ($lang=false)
 
 setInfo ($info, $lang=false)
 buildObjectForm ($id, array $options=array())
 Builds the user input form for this object.
 getAttributeTable ($full=true)
 onObjectSwitchTypeCopy ($from, $direction)
 Wywoływane, aby można było skopiować atrybuty przy zmianie typów.

Static Public Member Functions

static getClassAttributes (array $options=array())
 Returns attribute table for this class.

Member Function Documentation

KWebItemInfo::buildObjectForm ( id,
array $  options = array() 
)

Builds the user input form for this object.

Options specify the intent of the form (full edit, quick edit, quick add, and so on). Once build, the form should be attached to this object with setObjectForm().

By default, the form will be built automatically, using KWebAttribute form intents ($group and $forms)

Returns:
KWebAttribute_Table_Form

Reimplemented from KWebItem.

Reimplemented in KWebItem_NewsList, KWebItem_Redirect, KWebItem_Inc, KWebItem_Art, and KWebItem_Download.

KWebItemInfo::getAttributeTable ( full = true)
static KWebItemInfo::getClassAttributes ( array $  options = array()) [static]

Returns attribute table for this class.

Once created, the table should be stored in a static value. The table should be read only.

Options contain 'genre', 'type' and 'object' for which this attribute table is needed. However, the best practice is to always return always the same, static attribute table.

Overriding classes should be responsible to clone the table and it's attributes and modify them if needed.

Returns:
KWebAttribute_Table_Class

Reimplemented from KWebItem.

Reimplemented in KWebItem_NewsList, KWebItem_Inc, KWebItem_Art, KWebItem_Redirect, KWebItem_Dir, and KWebItem_Download.

KWebItemInfo::getInfo ( lang = false)

Reimplemented from KWebObject.

KWebItemInfo::onObjectSwitchTypeCopy ( from,
direction 
)

Wywoływane, aby można było skopiować atrybuty przy zmianie typów.

Parameters:
$fromKWebItem
$directionCONVERT_TO - stary->nowy, CONVERT_FROM nowy->stary()

Reimplemented from KWebItem.

KWebItemInfo::setInfo ( info,
lang = false 
)

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