Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Private Attributes
ResourceRegistries.tools.BaseRegistry.Skin Class Reference

List of all members.

Public Member Functions

def __init__
def __before_publishing_traverse__
def __bobo_traverse__

Static Public Attributes

tuple security = ClassSecurityInfo()

Private Attributes

 _skin

Detailed Description

Definition at line 133 of file BaseRegistry.py.


Constructor & Destructor Documentation

Definition at line 136 of file BaseRegistry.py.

00136 
00137     def __init__(self, skin):
00138         self._skin = skin


Member Function Documentation

Pre-traversal hook. Specify the skin. 

Definition at line 139 of file BaseRegistry.py.

00139 
00140     def __before_publishing_traverse__(self, object, REQUEST):
00141         """ Pre-traversal hook. Specify the skin. 
00142         """
00143         self.changeSkin(self._skin, REQUEST)

Here is the call graph for this function:

def ResourceRegistries.tools.BaseRegistry.Skin.__bobo_traverse__ (   self,
  REQUEST,
  name 
)
Traversal hook.

Definition at line 144 of file BaseRegistry.py.

00144 
00145     def __bobo_traverse__(self, REQUEST, name):
00146         """Traversal hook."""
00147         if REQUEST is not None and \
00148            self.concatenatedresources.get(name, None) is not None:
00149             parent = aq_parent(self)
00150             # see BaseTool.__bobo_traverse__
00151             deferred = getDummyFileForContent(name, self.getContentType())
00152             post_traverse = getattr(aq_base(REQUEST), 'post_traverse', None)
00153             if post_traverse is not None:
00154                 post_traverse(parent.deferredGetContent, (deferred, name, self._skin))
00155             else:
00156                 parent.deferredGetContent(deferred, name, self._skin)
00157             return deferred.__of__(parent)
00158         obj = getattr(self, name, None)
00159         if obj is not None:
00160             return obj
00161         raise AttributeError('%s' % (name,))
00162 
00163 InitializeClass(Skin)
00164 

Here is the call graph for this function:


Member Data Documentation

Definition at line 137 of file BaseRegistry.py.

tuple ResourceRegistries.tools.BaseRegistry.Skin.security = ClassSecurityInfo() [static]

Definition at line 134 of file BaseRegistry.py.


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