Back to index

plone3  3.1.7
Classes | Functions | Variables
Archetypes.customizationpolicy Namespace Reference

Classes

class  DefaultCustomizationPolicy
class  ArchetypesSitePolicy

Functions

def addPolicy
def registerPolicy

Variables

string __author__ = 'Christian Heimes'
string __docformat__ = 'restructuredtext'
tuple logger = getLogger('Archetypes')
 HAS_PLONE21 = True
tuple PRODUCTS = ('MimetypesRegistry', 'PortalTransforms', 'Archetypes', )

Detailed Description

Archetypes customization policy for Plone sites

Based on the multilingual policy from Plone Solutions

Function Documentation

def Archetypes.customizationpolicy.addPolicy (   args,
  kwargs 
)

Definition at line 20 of file customizationpolicy.py.

00020 
00021     def addPolicy(*args, **kwargs):
00022         raise ValueError('CustomizationPolicies not available.')
00023         
else:

Here is the caller graph for this function:

Definition at line 62 of file customizationpolicy.py.

00062 
00063 def registerPolicy(context):
00064     if not HAS_PLONE21:
00065         addPolicy('Archetypes Site', ArchetypesSitePolicy())

Here is the call graph for this function:


Variable Documentation

string Archetypes.customizationpolicy.__author__ = 'Christian Heimes'

Definition at line 6 of file customizationpolicy.py.

string Archetypes.customizationpolicy.__docformat__ = 'restructuredtext'

Definition at line 7 of file customizationpolicy.py.

Definition at line 30 of file customizationpolicy.py.

tuple Archetypes.customizationpolicy.logger = getLogger('Archetypes')

Definition at line 13 of file customizationpolicy.py.

tuple Archetypes.customizationpolicy.PRODUCTS = ('MimetypesRegistry', 'PortalTransforms', 'Archetypes', )

Definition at line 32 of file customizationpolicy.py.