Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Static Private Attributes
CMFCore.ActionInformation.ActionCategory Class Reference
Inheritance diagram for CMFCore.ActionInformation.ActionCategory:
Inheritance graph
[legend]
Collaboration diagram for CMFCore.ActionInformation.ActionCategory:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def listActions

Static Public Attributes

tuple security = ClassSecurityInfo()

Static Private Attributes

 __implements__ = OrderedFolder.__implements__
tuple _product_interfaces = (IActionCategory, IAction)

Detailed Description

Group of Action objects.

Definition at line 42 of file ActionInformation.py.


Member Function Documentation

List the actions defined in this category and its subcategories.

Definition at line 55 of file ActionInformation.py.

00055 
00056     def listActions(self):
00057         """ List the actions defined in this category and its subcategories.
00058         """
00059         actions = []
00060 
00061         for obj in self.objectValues():
00062             if IActionCategory.providedBy(obj):
00063                 actions.extend( obj.listActions() )
00064             elif IAction.providedBy(obj):
00065                 actions.append(obj)
00066 
00067         return tuple(actions)
00068 
00069 InitializeClass(ActionCategory)
00070 

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

CMFCore.ActionInformation.ActionCategory.__implements__ = OrderedFolder.__implements__ [static, private]

Definition at line 48 of file ActionInformation.py.

tuple CMFCore.ActionInformation.ActionCategory._product_interfaces = (IActionCategory, IAction) [static, private]

Definition at line 50 of file ActionInformation.py.

tuple CMFCore.ActionInformation.ActionCategory.security = ClassSecurityInfo() [static]

Definition at line 52 of file ActionInformation.py.


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