Back to index

plone3  3.1.7
Namespaces | Functions
CMFCalendar Namespace Reference

Namespaces

namespace  browser
namespace  CalendarTool
namespace  Event
namespace  exceptions
namespace  interfaces
namespace  permissions
namespace  setuphandlers
namespace  testing
namespace  tests
namespace  utils

Functions

def initialize

Function Documentation

def CMFCalendar.initialize (   context)

Definition at line 29 of file __init__.py.

00029 
00030 def initialize(context):
00031 
00032     ToolInit( 'CMF Calendar Tool'
00033             , tools=(CalendarTool.CalendarTool,)
00034             , icon='tool.gif'
00035             ).initialize( context )
00036 
00037     # BBB: register oldstyle constructors
00038     ContentInit( 'CMF Calendar Content'
00039                , content_types=()
00040                , permission=AddPortalContent
00041                , extra_constructors=(Event.addEvent,)
00042                ).initialize( context )