Back to index

plone3  3.1.7
Public Member Functions
CMFDynamicViewFTI.interface._base.IBrowserDefault Class Reference
Inheritance diagram for CMFDynamicViewFTI.interface._base.IBrowserDefault:
Inheritance graph
[legend]
Collaboration diagram for CMFDynamicViewFTI.interface._base.IBrowserDefault:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def defaultView
def __call__
def getDefaultPage
def getLayout
def getDefaultLayout

Detailed Description

Content supporting different views on a per-instance basis.

This can be either as a page template (a layout), or as the id of a 
contained object (aka a default page, set inside a folderish item only).

Definition at line 47 of file _base.py.


Member Function Documentation

Resolve and return the selected view template applied to the object.

This should not consider any default page set.

Definition at line 61 of file _base.py.

00061 
00062     def __call__():
00063         """Resolve and return the selected view template applied to the object.
00064         
00065         This should not consider any default page set.
00066         """

Here is the caller graph for this function:

Content supporting different views on a per-instance basis.

This can be either as a page template (a layout), or as the id of a 
contained object (aka a default page, set inside a folderish item only).
Get the actual view to use. 

If a default page is set, its id will
be returned. Else, the current layout's page template id is returned.

Definition at line 54 of file _base.py.

00054 
00055     def defaultView(request=None):
00056         """Get the actual view to use. 
00057         
00058         If a default page is set, its id will
00059         be returned. Else, the current layout's page template id is returned.
00060         """

Get the default layout template.

Definition at line 79 of file _base.py.

00079 
00080     def getDefaultLayout():
00081         """Get the default layout template.
00082         """
00083 

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 67 of file _base.py.

00067 
00068     def getDefaultPage():
00069         """Return the id of the default page, or None if none is set. 
00070         
00071         The default page must be contained within this (folderish) item.
00072         """

Here is the caller graph for this function:

Get the selected layout template. 

Note that a selected default page will override the layout template.

Definition at line 73 of file _base.py.

00073 
00074     def getLayout(**kw):
00075         """Get the selected layout template. 
00076         
00077         Note that a selected default page will override the layout template.
00078         """

Here is the caller graph for this function:


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