Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Static Public Attributes | Private Attributes
plone.locking.browser.info.LockInfoViewlet Class Reference
Inheritance diagram for plone.locking.browser.info.LockInfoViewlet:
Inheritance graph
[legend]
Collaboration diagram for plone.locking.browser.info.LockInfoViewlet:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def update
def render
def lock_is_stealable
def lock_info

Public Attributes

 context
 request
 view
 manager
 info

Static Public Attributes

tuple template = ViewPageTemplateFile('info.pt')

Private Attributes

 __parent__

Detailed Description

This is a viewlet which is not hooked up anywhere. It is referenced 
from plone.app.layout. We do it this way to avoid having the  lower-level 
plone.locking depend on these packages, whilst still providing
an implementation of the info box in a single place.

Definition at line 11 of file info.py.


Constructor & Destructor Documentation

def plone.locking.browser.info.LockInfoViewlet.__init__ (   self,
  context,
  request,
  view,
  manager 
)

Definition at line 21 of file info.py.

00021 
00022     def __init__(self, context, request, view, manager):
00023         super(LockInfoViewlet, self).__init__(context, request)
00024         self.__parent__ = view
00025         self.context = context
00026         self.request = request
00027         self.view = view
00028         self.manager = manager
00029         self.info = getMultiAdapter((context, request), name="plone_lock_info")

Here is the caller graph for this function:


Member Function Documentation

Definition at line 39 of file info.py.

00039 
00040     def lock_info(self):
        return self.info.lock_info()

Here is the caller graph for this function:

Definition at line 36 of file info.py.

00036 
00037     def lock_is_stealable(self):
00038         return self.info.lock_is_stealable()
        

Definition at line 33 of file info.py.

00033 
00034     def render(self):
00035         return self.template()
    

Definition at line 30 of file info.py.

00030 
00031     def update(self):
00032         pass

Here is the caller graph for this function:


Member Data Documentation

Definition at line 23 of file info.py.

Definition at line 24 of file info.py.

Definition at line 28 of file info.py.

Definition at line 27 of file info.py.

Definition at line 25 of file info.py.

tuple plone.locking.browser.info.LockInfoViewlet.template = ViewPageTemplateFile('info.pt') [static]

Definition at line 19 of file info.py.

Definition at line 26 of file info.py.


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