Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
CMFCore.browser.globalbrowsermenuservice.menuItemsDirective Class Reference

List of all members.

Public Member Functions

def __init__
def menuItem
def __call__

Public Attributes

 interface
 menu

Detailed Description

Definition at line 139 of file globalbrowsermenuservice.py.


Constructor & Destructor Documentation

def CMFCore.browser.globalbrowsermenuservice.menuItemsDirective.__init__ (   self,
  _context,
  menu,
  for_ 
)

Definition at line 141 of file globalbrowsermenuservice.py.

00141 
00142     def __init__(self, _context, menu, for_):
00143         self.interface = for_
00144         self.menu = menu


Member Function Documentation

Definition at line 155 of file globalbrowsermenuservice.py.

00155 
00156     def __call__(self, _context):
00157         _context.action(
00158             discriminator = None,
00159             callable = provideInterface,
00160             args = (self.interface.__module__+'.'+self.interface.getName(),
00161                     self.interface)
00162             )

Here is the caller graph for this function:

def CMFCore.browser.globalbrowsermenuservice.menuItemsDirective.menuItem (   self,
  _context,
  action,
  title,
  description = '',
  filter = None,
  permission = None,
  extra = None 
)

Definition at line 146 of file globalbrowsermenuservice.py.

00146 
00147                  filter=None, permission=None, extra=None):
00148         _context.action(
00149             discriminator = ('browser:menuItem',
00150                              self.menu, self.interface, title),
00151             callable = addMenuItem,
00152             args = (self.menu, self.interface,
00153                     action, title, description, filter, permission, extra),
00154             ),


Member Data Documentation

Definition at line 142 of file globalbrowsermenuservice.py.

Definition at line 143 of file globalbrowsermenuservice.py.


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