Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Private Attributes
plone.app.kss.headerviewlet.KSSBaseUrlViewlet Class Reference
Inheritance diagram for plone.app.kss.headerviewlet.KSSBaseUrlViewlet:
Inheritance graph
[legend]
Collaboration diagram for plone.app.kss.headerviewlet.KSSBaseUrlViewlet:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def update
def render

Public Attributes

 context
 request
 view
 manager
 context_state

Private Attributes

 __parent__

Detailed Description

Renders a link rel tag with the real url of the published object. 

Definition at line 7 of file headerviewlet.py.


Constructor & Destructor Documentation

def plone.app.kss.headerviewlet.KSSBaseUrlViewlet.__init__ (   self,
  context,
  request,
  view,
  manager 
)

Definition at line 11 of file headerviewlet.py.

00011 
00012     def __init__(self, context, request, view, manager):
00013         super(KSSBaseUrlViewlet, self).__init__(context, request)
00014         self.__parent__ = view
00015         self.context = context
00016         self.request = request
00017         self.view = view
00018         self.manager = manager
00019         self.context_state = getMultiAdapter((context, request), name=u'plone_context_state')

Here is the caller graph for this function:


Member Function Documentation

Definition at line 23 of file headerviewlet.py.

00023 
00024     def render(self):
00025         return u'<link rel="kss-base-url" href="%s" />' % self.context_state.object_url()

Definition at line 20 of file headerviewlet.py.

00020 
00021     def update(self):
00022         pass

Here is the caller graph for this function:


Member Data Documentation

Definition at line 13 of file headerviewlet.py.

Definition at line 14 of file headerviewlet.py.

Definition at line 18 of file headerviewlet.py.

Definition at line 17 of file headerviewlet.py.

Definition at line 15 of file headerviewlet.py.

Definition at line 16 of file headerviewlet.py.


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