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

def CMFDynamicViewFTI::browserdefault::BrowserDefaultMixin::getDefaultPage (   self  ) 

Return the id of the default page, or None if none is set.

The default page must be contained within this (folderish) item.

Definition at line 101 of file browserdefault.py.

00101                             :
        """Return the id of the default page, or None if none is set.

        The default page must be contained within this (folderish) item.
        """
        fti = self.getTypeInfo()
        if fti is None:
            return None
        else:
            plone_utils = getToolByName(self, 'plone_utils', None)
            if plone_utils is not None:
                return plone_utils.getDefaultPage(self)
            else:
                return fti.getDefaultPage(self, check_exists=True)

    security.declareProtected(View, 'getLayout')
    def getLayout(self, **kw):


Generated by  Doxygen 1.6.0   Back to index