Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Static Public Attributes
plone.app.layout.viewlets.content.DocumentActionsViewlet Class Reference
Inheritance diagram for plone.app.layout.viewlets.content.DocumentActionsViewlet:
Inheritance graph
[legend]
Collaboration diagram for plone.app.layout.viewlets.content.DocumentActionsViewlet:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def update

Public Attributes

 context_state
 getIconFor
 actions

Static Public Attributes

tuple index = ViewPageTemplateFile("document_actions.pt")

Detailed Description

Definition at line 19 of file content.py.


Member Function Documentation

Definition at line 20 of file content.py.

00020 
00021     def update(self):
00022         super(DocumentActionsViewlet, self).update()
00023 
00024         self.context_state = getMultiAdapter((self.context, self.request),
00025                                              name=u'plone_context_state')
00026         plone_utils = getToolByName(self.context, 'plone_utils')
00027         self.getIconFor = plone_utils.getIconFor
00028         self.actions = self.context_state.actions().get('document_actions', None)

Here is the caller graph for this function:


Member Data Documentation

Definition at line 27 of file content.py.

Definition at line 23 of file content.py.

Definition at line 26 of file content.py.

tuple plone.app.layout.viewlets.content.DocumentActionsViewlet.index = ViewPageTemplateFile("document_actions.pt") [static]

Definition at line 29 of file content.py.


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