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
Collaboration diagram for CMFCore.ActionInformation.ActionCategory:
Collaboration graph

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

Member Function Documentation

List the actions defined in this category and its subcategories.

Definition at line 55 of file

00056     def listActions(self):
00057         """ List the actions defined in this category and its subcategories.
00058         """
00059         actions = []
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)
00067         return tuple(actions)
00069 InitializeClass(ActionCategory)

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

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

Definition at line 50 of file

tuple = ClassSecurityInfo() [static]

Definition at line 52 of file

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