KWeb
6.4
|
Creates menu item for object. More...
Public Member Functions | |
__construct ($objectUid, $id=false) | |
getObject () | |
getMenuTitle () | |
getMenuUrl () | |
Returns URL. | |
getMenuIcon () | |
getMenuOption ($name, $default=null) | |
printMenu (Menu_PrinterInterface $printer, array $options=array()) | |
printMenuContent (Menu_PrinterInterface $printer, array $options=array()) | |
setTemplate ($template) | |
setTemplateVars ($templateVars) | |
setContentTemplate ($contentTemplate) | |
setContentTemplateVars ($contentTemplateVars) | |
setObjectUrlView ($objectUrlView) | |
setObjectIconSize ($objectIconSize) | |
Static Public Member Functions | |
static | createItem ($objectUid, $id=false, $title=null, $url=null, $icon=null, $onClick=false, array $options=array()) |
static | createObjectBar ($objectUid, array $options=array()) |
static | createObjectLink ($objectUid, array $options=array()) |
Data Fields | |
$objectUid | |
$template = false | |
$templateVars = array() | |
$contentTemplate = false | |
$contentTemplateVars = array() | |
$objectUrlView = false | |
$objectIconSize = ICON_SMALL |
Creates menu item for object.
Can print menu items using Menu_Printer, or templates
KWebMenu_ObjectItem::__construct | ( | $ | objectUid, |
$ | id = false |
||
) |
static KWebMenu_ObjectItem::createItem | ( | $ | objectUid, |
$ | id = false , |
||
$ | title = null , |
||
$ | url = null , |
||
$ | icon = null , |
||
$ | onClick = false , |
||
array $ | options = array() |
||
) | [static] |
static KWebMenu_ObjectItem::createObjectBar | ( | $ | objectUid, |
array $ | options = array() |
||
) | [static] |
static KWebMenu_ObjectItem::createObjectLink | ( | $ | objectUid, |
array $ | options = array() |
||
) | [static] |
KWebMenu_ObjectItem::getMenuIcon | ( | ) |
Reimplemented from Menu_Item.
KWebMenu_ObjectItem::getMenuTitle | ( | ) |
Reimplemented from Menu_Item.
KWebMenu_ObjectItem::getMenuUrl | ( | ) |
Returns URL.
Reimplemented from Menu_Item.
KWebMenu_ObjectItem::getObject | ( | ) |
KWebMenu_ObjectItem::printMenu | ( | Menu_PrinterInterface $ | printer, |
array $ | options = array() |
||
) |
Reimplemented from Menu_Item.
KWebMenu_ObjectItem::printMenuContent | ( | Menu_PrinterInterface $ | printer, |
array $ | options = array() |
||
) |
Reimplemented from Menu_Item.
KWebMenu_ObjectItem::setContentTemplate | ( | $ | contentTemplate | ) |
KWebMenu_ObjectItem::setContentTemplateVars | ( | $ | contentTemplateVars | ) |
KWebMenu_ObjectItem::setObjectIconSize | ( | $ | objectIconSize | ) |
KWebMenu_ObjectItem::setObjectUrlView | ( | $ | objectUrlView | ) |
KWebMenu_ObjectItem::setTemplate | ( | $ | template | ) |
KWebMenu_ObjectItem::setTemplateVars | ( | $ | templateVars | ) |
KWebMenu_ObjectItem::$contentTemplate = false |
KWebMenu_ObjectItem::$contentTemplateVars = array() |
KWebMenu_ObjectItem::$objectIconSize = ICON_SMALL |
KWebMenu_ObjectItem::$objectUid |
KWebMenu_ObjectItem::$objectUrlView = false |
KWebMenu_ObjectItem::$template = false |
KWebMenu_ObjectItem::$templateVars = array() |