Back to index

plone3  3.1.7
Public Member Functions
CMFEditions.interfaces.IModifier.IModifierRegistrySet Class Reference
Inheritance diagram for CMFEditions.interfaces.IModifier.IModifierRegistrySet:
Inheritance graph
[legend]
Collaboration diagram for CMFEditions.interfaces.IModifier.IModifierRegistrySet:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def register
def unregister
def edit

Detailed Description

Registring and editing a modifier registry.

Definition at line 148 of file IModifier.py.


Member Function Documentation

def CMFEditions.interfaces.IModifier.IModifierRegistrySet.edit (   id,
  enabled = None,
  condition = None 
)
Edits a before save and after retrieve modifier.

None values leave the respective parameter unchanged.

The respective modifier only gets called if it is enabled and
the 'condition' evaluates to a True value.

Definition at line 166 of file IModifier.py.

00166 
00167     def edit(id, enabled=None, condition=None):
00168         """Edits a before save and after retrieve modifier.
00169         
00170         None values leave the respective parameter unchanged.
00171         
00172         The respective modifier only gets called if it is enabled and
00173         the 'condition' evaluates to a True value.
00174         """
    

Here is the caller graph for this function:

def CMFEditions.interfaces.IModifier.IModifierRegistrySet.register (   id,
  modifier,
  pos = -1 
)
Registring and editing a modifier registry.
Registers a before save and after retrieve modifier.

If no 'pos' argument is passed the modifier gets added at the
end of the registry.

Definition at line 152 of file IModifier.py.

00152 
00153     def register(id, modifier, pos=-1):
00154         """Registers a before save and after retrieve modifier.
00155 
00156         If no 'pos' argument is passed the modifier gets added at the
00157         end of the registry.
00158         """

Here is the caller graph for this function:

Unregisters a before save and after retrieve modifier.

Unregistering can be done by passing the method the id or
the position.

Definition at line 159 of file IModifier.py.

00159 
00160     def unregister(id):
00161         """Unregisters a before save and after retrieve modifier.
00162 
00163         Unregistering can be done by passing the method the id or
00164         the position.
00165         """

Here is the caller graph for this function:


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