Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
kss.core.tests.test_kssview_functional.TestKSSView Class Reference
Inheritance diagram for kss.core.tests.test_kssview_functional.TestKSSView:
Inheritance graph
[legend]
Collaboration diagram for kss.core.tests.test_kssview_functional.TestKSSView:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __call__

Public Attributes

 messages

Detailed Description

Definition at line 29 of file test_kssview_functional.py.


Member Function Documentation

Definition at line 31 of file test_kssview_functional.py.

00031 
00032     def __call__(self):
00033         self.messages = []
00034         if getSite() == self:
00035             self.messages.append("I'm the current site.")
00036         if component.getSiteManager() == self.getSiteManager():
00037             self.messages.append("I have the current site manager.")
00038         event.notify(ObjectModifiedEvent(self.context))
00039         return "\n".join(self.messages)
00040 
@component.adapter(None, KSSView, ObjectModifiedEvent)

Here is the caller graph for this function:


Member Data Documentation

Definition at line 32 of file test_kssview_functional.py.


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