Back to index

plone3  3.1.7
Public Member Functions
CMFCore.interfaces._tools.IAction Class Reference
Inheritance diagram for CMFCore.interfaces._tools.IAction:
Inheritance graph
[legend]
Collaboration diagram for CMFCore.interfaces._tools.IAction:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def getInfoData

Detailed Description

Specification for an action.

Definition at line 176 of file _tools.py.


Member Function Documentation

Specification for an action.
Return a lazy mapping of the data needed to create an
    IActionInformation.

o Returned value is actually a tuple, '(lazy_map, lazy_keys)'.

o Default keys are: 'id', 'category', 'title', 'description', 'url',
  'icon', 'available', 'permissions' and 'visible'.

o Instead of computed values callable expression objects or methods
  are returned. For performance reasons, these objects are called
  later and only if the values are actually needed. The keys for all
  these lazy values are registered in a separate list.

Definition at line 181 of file _tools.py.

00181 
00182     def getInfoData():
00183         """ Return a lazy mapping of the data needed to create an
00184             IActionInformation.
00185 
00186         o Returned value is actually a tuple, '(lazy_map, lazy_keys)'.
00187 
00188         o Default keys are: 'id', 'category', 'title', 'description', 'url',
00189           'icon', 'available', 'permissions' and 'visible'.
00190 
00191         o Instead of computed values callable expression objects or methods
00192           are returned. For performance reasons, these objects are called
00193           later and only if the values are actually needed. The keys for all
00194           these lazy values are registered in a separate list.
00195         """
00196 


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