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

Public Member Functions

 getItemPrinter ()
 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 getClassAttributes (array $options=array())
 Returns attribute table for this class.
static prepareSearch ($search)

Member Function Documentation

KWebItem_Download::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_Download::canAddChild ( type,
user = false,
attrId = ATTR_ALL 
)

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

Reimplemented from KWebItem.

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

Reimplemented from KWebItem.

static KWebItem_Download::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_Download::getItemPrinter ( )

Reimplemented from KWebItem.

static KWebItem_Download::prepareSearch ( search) [static]
Parameters:
$searchKWebSearch

Reimplemented from KWebItem.


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