Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Private Attributes | Static Private Attributes
CMFCore.PortalObject.PortalObjectBase Class Reference
Inheritance diagram for CMFCore.PortalObject.PortalObjectBase:
Inheritance graph
[legend]
Collaboration diagram for CMFCore.PortalObject.PortalObjectBase:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def getSkinsFolderName
def getSiteManager
def __before_publishing_traverse__

Static Public Attributes

string meta_type = 'Portal Site'

Private Attributes

 _components

Static Private Attributes

 __getattr__ = SkinnableObjectManager.__getattr__
 _checkId = SkinnableObjectManager._checkId
tuple __ac_permissions__

Detailed Description

Definition at line 43 of file PortalObject.py.


Member Function Documentation

Pre-traversal hook.

Definition at line 88 of file PortalObject.py.

00088 
00089     def __before_publishing_traverse__(self, arg1, arg2=None):
00090         """ Pre-traversal hook.
00091         """
00092         # XXX hack around a bug(?) in BeforeTraverse.MultiHook
00093         REQUEST = arg2 or arg1
00094 
00095         notify(BeforeTraverseEvent(self, REQUEST))
00096         self.setupCurrentSkin(REQUEST)
00097 
00098         super(PortalObjectBase,
00099               self).__before_publishing_traverse__(arg1, arg2)
00100 
00101 InitializeClass(PortalObjectBase)

Here is the call graph for this function:

Definition at line 65 of file PortalObject.py.

00065 
00066     def getSiteManager(self):
00067         if self._components is None:
00068             # BBB: for CMF 2.0 instances
00069             next = find_next_sitemanager(self)
00070             if next is None:
00071                 next = base
00072             name = '/'.join(self.getPhysicalPath())
00073             self._components = components = PersistentComponents(name, (next,))
00074             components.__parent__ = self
00075             setSite(self)
00076         elif self._components.utilities.LookupClass \
00077                 != FiveVerifyingAdapterLookup:
00078             # BBB: for CMF 2.1 beta instances
00079             # XXX: should be removed again after the CMF 2.1 release
00080             components = aq_base(self._components)
00081             components.__parent__ = self
00082             utilities = aq_base(components.utilities)
00083             utilities.LookupClass = FiveVerifyingAdapterLookup
00084             utilities._createLookup()
00085             utilities.__parent__ = components
00086             
00087         return self._components

Here is the call graph for this function:

Definition at line 62 of file PortalObject.py.

00062 
00063     def getSkinsFolderName(self):
00064         return PORTAL_SKINS_TOOL_ID

Here is the caller graph for this function:


Member Data Documentation

Initial value:
(
        (AddPortalMember, ()),
        (SetOwnPassword, ()),
        (SetOwnProperties, ()),
        (MailForgottenPassword, ()),
        (RequestReview, ()),
        (ReviewPortalContent, ()),
        )

Definition at line 53 of file PortalObject.py.

CMFCore.PortalObject.PortalObjectBase.__getattr__ = SkinnableObjectManager.__getattr__ [static, private]

Definition at line 49 of file PortalObject.py.

CMFCore.PortalObject.PortalObjectBase._checkId = SkinnableObjectManager._checkId [static, private]

Definition at line 50 of file PortalObject.py.

Definition at line 72 of file PortalObject.py.

string CMFCore.PortalObject.PortalObjectBase.meta_type = 'Portal Site' [static]

Definition at line 46 of file PortalObject.py.


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