KWeb
6.4
|
Public Member Functions | |
getItemPrinter () | |
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) | |
getItemTitle ($lang=false) | |
getRedirectUrl ($lang=false) | |
getRedirectTarget ($lang=false, $default= '_self') | |
getJumpWait ($lang=false) | |
buildObjectForm ($id, array $options=array()) | |
Builds the user input form for this object. | |
getUrl ($view= '', $params=false, $lang=false, array $options=array()) | |
Returns URL for this object. | |
getRedirectItem ($asObject=true) | |
Returns item this redirect points to. | |
Static Public Member Functions | |
static | getClassAttributes (array $options=array()) |
Returns attribute table for this class. |
KWebItem_Redirect::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)
Reimplemented from KWebItemInfo.
KWebItem_Redirect::canAddChild | ( | $ | type, |
$ | user = false , |
||
$ | attrId = ATTR_ALL |
||
) |
Zwraca true, jeżeli można dodać element o podanym typie...
Reimplemented from KWebItem.
KWebItem_Redirect::canAddLink | ( | $ | item, |
$ | user = false , |
||
$ | attrId = ATTR_ALL |
||
) |
Reimplemented from KWebItem.
static KWebItem_Redirect::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.
Reimplemented from KWebItemInfo.
KWebItem_Redirect::getItemPrinter | ( | ) |
Reimplemented from KWebItem.
KWebItem_Redirect::getItemTitle | ( | $ | lang = false | ) |
Reimplemented from KWebItem.
KWebItem_Redirect::getJumpWait | ( | $ | lang = false | ) |
KWebItem_Redirect::getRedirectItem | ( | $ | asObject = true | ) |
Returns item this redirect points to.
If the redirect is an url, then false is returned.
KWebItem_Redirect::getRedirectTarget | ( | $ | lang = false , |
$ | default = '_self' |
||
) |
KWebItem_Redirect::getRedirectUrl | ( | $ | lang = false | ) |
KWebItem_Redirect::getUrl | ( | $ | view = '' , |
$ | params = false , |
||
$ | lang = false , |
||
array $ | options = array() |
||
) |
Returns URL for this object.
$view | - View to use |
$params | - List of url parameters. Parameters suffixed with '/' will be encoded in the name as: "/path/id,parameter-value.html" |
$lang | - Language to use |
$options | - List of additional options (KWeb::URL_*) |
Reimplemented from KWebItem.