API Documentation

Classes

EventReference

Functions

manage_addReference

EventReference


Classes

class EventReference

An object that lets it's owner reference another object she doesn't own and add properties to the reference.


__module__ = __builtin__

Methods

title():

return the title of the Event Document referenced

index_object():

Catalog in any EventManagers this is inside of

isValid():

returns 1 if the reference is valid else None

unindex_object():

Uncatalog from any EventManager this is inside of

renderBody(REQUEST=None):

try to return the html for the body of the Event object this object references

getObject(REQUEST=None):

try to return the object this references This code was adapted from CatalogBrains used in ZCatalog.

getPath():

Get the path to the Event Document this references

__call__(client=None, REQUEST={}, RESPONSE=None, **kw):

Render the object

event_date(REQUEST=None):

return the event date

ownersEmails():

return a list of the Event Document owners email addresses assuming the owners email address is the same as their user name.

type(REQUEST=None):

return the event type


Functions

manage_addReference(context, id, path=, show_date=, hide_date=, REQUEST=None):

Add a Reference object to the current context