KWeb  6.4
KWebItem_Art Class Reference
Inheritance diagram for KWebItem_Art:
KWebItemInfo KWebItem KWebObject_Translateable KWebObject_Attributable KWebObject

Public Member Functions

 getItemPrinter ()
 getParsedContent ($lang=false)
 getContent ($lang=false)
 hasContent ($lang=false)
 getObjectContent ($lang=true, $receiver=null)
 Returns an KWebContent object describing contents of this item.
 buildObjectForm ($id, array $options=array())
 Builds the user input form for this object.
 canAddChild ($type, $user=false, $attrId=ATTR_ALL)
 Zwraca true, jeżeli można dodać element o podanym typie...
 canAddLink ($item, $user=false, $attrId=ATTR_ALL)

Static Public Member Functions

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

Member Function Documentation

KWebItem_Art::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 KWebItemInfo.

KWebItem_Art::canAddChild ( type,
user = false,
attrId = ATTR_ALL 
)

Zwraca true, jeżeli można dodać element o podanym typie...

Reimplemented from KWebItem.

KWebItem_Art::canAddLink ( item,
user = false,
attrId = ATTR_ALL 
)

Reimplemented from KWebItem.

static KWebItem_Art::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 KWebItemInfo.

KWebItem_Art::getContent ( lang = false)
KWebItem_Art::getItemPrinter ( )

Reimplemented from KWebItem.

KWebItem_Art::getObjectContent ( lang = true,
receiver = null 
)

Returns an KWebContent object describing contents of this item.

Parameters:
$lang- Expected translation, false for current language or true for every translation
$receiver- Object that is requesting this information (for example KWebSearch_Indexer)
Returns:
KWebContent

Reimplemented from KWebItem.

KWebItem_Art::getParsedContent ( lang = false)
Returns:
TextParser
KWebItem_Art::hasContent ( lang = false)
static KWebItem_Art::prepareSearch ( search) [static]
Parameters:
$searchKWebSearch

Reimplemented from KWebItem.


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