Trees | Index | Help |
|
---|
Package ZenModel :: Module ZenMenuable :: Class ZenMenuable |
|
DeviceOrganizer
Method Summary | |
---|---|
Build menus from a dictionary. | |
Build menus for this context, acquiring ZenMenus which in turn acquire ZenMenuItems. | |
Add ZenMenuItems to a ZenMenu. | |
Add a menu item to this device organizer | |
Add ZenMenuItem | |
Delete Menu Items from this object | |
Delete Menu Items | |
Delete Menu Items |
Class Variable Summary | |
---|---|
tuple |
__ac_permissions__ = (('Change Device', ('manage_deleteZ...
|
PermissionRole |
buildMenus__roles__ = <PermissionRole object at 0x10bfcf...
|
PermissionRole |
getMenus__roles__ = <PermissionRole object at 0x320d0e0>
|
PermissionRole |
manage_addItemsToZenMenu__roles__ = <PermissionRole obje...
|
PermissionRole |
manage_addZenMenu__roles__ = <PermissionRole object at 0...
|
PermissionRole |
manage_addZenMenuItem__roles__ = <PermissionRole object ...
|
PermissionRole |
manage_deleteZenMenu__roles__ = <PermissionRole object a...
|
PermissionRole |
manage_deleteZenMenuItem__roles__ = <PermissionRole obje...
|
PermissionRole |
manage_saveMenuItemOrdering__roles__ = <PermissionRole o...
|
Method Details |
---|
buildMenus(self, menudict={})Build menus from a dictionary. |
getMenus(self, menuids=None, context=None)Build menus for this context, acquiring ZenMenus which in turn acquire ZenMenuItems. Pass it a menuid for a list of menuitems, a sequence of menuids for a dict of lists of items, or nothing for a dict of all available menus. |
manage_addItemsToZenMenu(self, menuid, items=[{}])Add ZenMenuItems to a ZenMenu. Accepts a list of dictionaries. Available keyword args: id description action permissions isglobal isdialog banned_classes allowed_classes |
manage_addZenMenu(self, id=None, desc='', REQUEST=None)Add a menu item to this device organizer |
manage_addZenMenuItem(self, menuid, id=None, description='', action='', permissions=('View',), isdialog=False, isglobal=True, banned_classes=(), allowed_classes=(), ordering=0.0, REQUEST=None)Add ZenMenuItem |
manage_deleteZenMenu(self, delids=(), REQUEST=None)Delete Menu Items from this object |
manage_deleteZenMenuItem(self, menuid, delids=(), REQUEST=None)Delete Menu Items |
manage_saveMenuItemOrdering(self, menuid, REQUEST=None)Delete Menu Items |
Class Variable Details |
---|
buildMenus__roles__
|
getMenus__roles__
|
manage_addItemsToZenMenu__roles__
|
manage_addZenMenu__roles__
|
manage_addZenMenuItem__roles__
|
manage_deleteZenMenu__roles__
|
manage_deleteZenMenuItem__roles__
|
manage_saveMenuItemOrdering__roles__
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 16 09:55:09 2007 | http://epydoc.sf.net |