Back to index

plone3  3.1.7
Public Member Functions | Private Member Functions
CMFDefault.browser.utils.ViewBase Class Reference
Inheritance diagram for CMFDefault.browser.utils.ViewBase:
Inheritance graph
[legend]
Collaboration diagram for CMFDefault.browser.utils.ViewBase:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def title
def description

Private Member Functions

def _getTool
def _checkPermission
def _getPortalURL
def _getViewURL
def _getDefaultCharset
def _getBrowserCharset

Detailed Description

Definition at line 64 of file utils.py.


Member Function Documentation

def CMFDefault.browser.utils.ViewBase._checkPermission (   self,
  permission 
) [private]

Definition at line 73 of file utils.py.

00073 
00074     def _checkPermission(self, permission):
00075         mtool = self._getTool('portal_membership')
00076         return mtool.checkPermission(permission, self.context)

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 92 of file utils.py.

00092 
00093     def _getBrowserCharset(self):
00094         return getBrowserCharset(self.request)

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 87 of file utils.py.

00087 
00088     def _getDefaultCharset(self):
00089         ptool = getUtility(IPropertiesTool)
00090         return ptool.getProperty('default_charset', None)

Here is the caller graph for this function:

Definition at line 78 of file utils.py.

00078 
00079     def _getPortalURL(self):
00080         utool = self._getTool('portal_url')
00081         return utool()

Here is the call graph for this function:

Here is the caller graph for this function:

def CMFDefault.browser.utils.ViewBase._getTool (   self,
  name 
) [private]

Definition at line 69 of file utils.py.

00069 
00070     def _getTool(self, name):
00071         return getToolByName(self.context, name)

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 83 of file utils.py.

00083 
00084     def _getViewURL(self):
00085         return self.request['ACTUAL_URL']

Here is the caller graph for this function:

Definition at line 104 of file utils.py.

00104 
00105     def description(self):
00106         return self.context.Description()

Here is the caller graph for this function:

Definition at line 99 of file utils.py.

00099 
00100     def title(self):
00101         return self.context.Title()

Here is the caller graph for this function:


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