Back to index

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

List of all members.

Public Member Functions

def edit
def getTalesCondition
def edit
def isApplicable
def isEnabled
def getModifier

Detailed Description

A modifier with a condition.

The modifiers get only called if it is enabled and if the TALES
condition evaluates to a true value.

Definition at line 230 of file IModifier.py.


Member Function Documentation

def CMFEditions.interfaces.IModifier.IConditionalModifier.edit (   enabled = None) [inherited]
Modifies an existing conditional modifier.

None values leave the respective parameter unchanged.

Definition at line 208 of file IModifier.py.

00208 
00209     def edit(enabled=None):
00210         """Modifies an existing conditional modifier.
00211         
00212         None values leave the respective parameter unchanged.
00213         """
        

Here is the caller graph for this function:

def CMFEditions.interfaces.IModifier.IConditionalTalesModifier.edit (   enabled = None,
  condition = None 
)
A modifier with a condition.

The modifiers get only called if it is enabled and if the TALES
condition evaluates to a true value.
Modifies an existing conditional TALES modifier.

'condition' is a TALES expression.

None values leave the respective parameter unchanged.

Definition at line 237 of file IModifier.py.

00237 
00238     def edit(enabled=None, condition=None):
00239         """Modifies an existing conditional TALES modifier.
00240         
00241         'condition' is a TALES expression.
00242         
00243         None values leave the respective parameter unchanged.
00244         """
        

Here is the caller graph for this function:

Returns the modifier.

Definition at line 225 of file IModifier.py.

00225 
00226     def getModifier():
00227         """Returns the modifier.
00228         """
    
Returns the TALES expression.

Definition at line 245 of file IModifier.py.

00245 
00246     def getTalesCondition():
00247         """Returns the TALES expression.
00248         """
00249     
00250     
# not yet implemented stuff, subject to change

Here is the caller graph for this function:

def CMFEditions.interfaces.IModifier.IConditionalModifier.isApplicable (   obj,
  portal = None 
) [inherited]
Returns True if the modifier is applicable.

A modifier is applicable if it is enabled and if an additional
condition evaluates to a true value.

Definition at line 214 of file IModifier.py.

00214 
00215     def isApplicable(obj, portal=None):
00216         """Returns True if the modifier is applicable.
00217         
00218         A modifier is applicable if it is enabled and if an additional
00219         condition evaluates to a true value.
00220         """
        
Returns the enable status.

Definition at line 221 of file IModifier.py.

00221 
00222     def isEnabled():
00223         """Returns the enable status.
00224         """
        

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