source: products/XMLRPCMethod/XMLRPCMethod-1-1/__init__.py @ 1591

Last change on this file since 1591 was 19, checked in by myroslav, 14 years ago

Layout changes, typos corrected

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1# The contents of this file are subject to the Mozilla Public
2# License Version 1.1 (the "License"); you may not use this file
3# except in compliance with the License. You may obtain a copy of
4# the License at http://www.mozilla.org/MPL/
5#
6# Software distributed under the License is distributed on an "AS
7# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
8# implied. See the License for the specific language governing
9# rights and limitations under the License.
10#
11# The Original Code is RDFSummary version 1.0.
12#
13# The Initial Developer of the Original Code is European Environment
14# Agency (EEA).  Portions created by EEA are
15# Copyright (C) European Environment Agency.  All
16# Rights Reserved.
17#
18# Contributor(s):
19# Soren Roug, EEA
20
21__doc__='''XMLRPC Method Product Initialization
22$Id: __init__.py,v 1.2 2003/06/06 13:26:46 finrocvs Exp $'''
23__version__='$Revision: 1.2 $'[11:-2]
24
25import XMLRPCMethod
26
27# This is the new way to initialize products.  It is hoped
28# that this more direct mechanism will be more understandable.
29def initialize(context):
30
31    context.registerClass(
32        XMLRPCMethod.XMLRPCMethod,
33        constructors=(XMLRPCMethod.manage_addXMLRPCMethodForm,
34                       XMLRPCMethod.manage_addXMLRPCMethod),
35        icon='xmlrpc.gif',
36        )
37
38    context.registerHelp()
39    context.registerHelpTitle('Zope Help')
Note: See TracBrowser for help on using the repository browser.