Logo Search packages:      
Sourcecode: zope-cpsskins version File versions  Download package

def CPSSkins::PortalTheme::PortalTheme::getLostAndFoundFolder (   self,
  create = 0 
)

Returns the 'lost+found' folder.

Definition at line 583 of file PortalTheme.py.

00583                                              :
        """
        Returns the 'lost+found' folder.
        """

        id = 'LOST-AND-FOUND'
        folder = getattr(self.aq_inner.aq_explicit, id, None)
        exists = 0
        if folder is not None:
            if getattr(aq_base(folder), 'isthemefolder', 0):
                exists = 1
        if not exists and create:
            self.invokeFactory('Theme Folder', id)
        return getattr(self.aq_inner.aq_explicit, id, None)

    security.declarePublic('getImageFolder')
    def getImageFolder(self, category=None):


Generated by  Doxygen 1.6.0   Back to index