Back to index

plone3  3.1.7
Namespaces | Functions
Marshall Namespace Reference

Namespaces

namespace  config
namespace  exceptions
namespace  export
namespace  expression
namespace  Extensions
namespace  handlers
namespace  interfaces
namespace  marshaller
namespace  namespaces
namespace  predicates
namespace  registry
namespace  setup
namespace  tests
namespace  utils

Functions

def initialize

Function Documentation

def Marshall.initialize (   context)

Definition at line 37 of file __init__.py.

00037 
00038 def initialize(context):
00039     from Products.Marshall import registry
00040     from Products.Marshall import predicates
00041 
00042     context.registerClass(
00043         registry.Registry,
00044         permission='Add Marshaller Registry',
00045         constructors=(registry.manage_addRegistry,),
00046         icon='www/registry.png',
00047         )
00048 
00049     context.registerClass(
00050         instance_class=predicates.Predicate,
00051         permission='Add Marshaller Predicate',
00052         constructors=predicates.constructors,
00053         icon='www/registry.png')