Package ZenEvents :: Module ZEvent :: Class ZEvent
[hide private]
[frames] | no frames]

Class ZEvent

source code

 object --+    
          |    
Event.Event --+
              |
             ZEvent
Known Subclasses:
EventDetail.EventDetail

Event that lives in the zope context has zope security mechanisms and url back to event manager

Instance Methods [hide private]
 
__init__(self, manager, fields, data)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
getDataForJSON(self, fields)
returns data ready for serialization
source code
 
getDataListWithLinks(self, fields, cssClass='')
return a list of data elements that map to the fields parameter.
source code
 
getEventDetailHref(self)
build an href to call the detail of this event
source code
 
getCssClass(self)
return the css class name to be used for this event.
source code
 
zem(self)
return the id of our manager.
source code

Inherited from Event.Event: clearClasses, getDataList, getDedupFields, getEventData, getEventFields, updateFromDict, updateFromFields

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  security = ClassSecurityInfo()
  __ac_permissions__ = ()
  __allow_access_to_unprotected_subobjects__ = 1
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, manager, fields, data)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: Event.Event.__init__