source: products/ShortMessage/trunk/__init__.py @ 11

Last change on this file since 11 was 1, checked in by myroslav, 18 years ago

Building directory structure

File size: 926 bytes
Line 
1# Author: Melnychuk Taras
2# Contact: fenix@quintagroup.com
3# Date: $Date: 2005-11-23 13:10:22 +0200 (Thu, 23 Nov 2005) $
4# Copyright: quintagroup.com
5
6"""
7This is the init module for ShortMessage product that will initialize all
8types in product.
9"""
10__docformat__ = 'restructuredtext'
11
12from Products.Archetypes.public import *
13from Products.CMFCore import utils
14from Products.CMFCore.DirectoryView import registerDirectory
15from config import *
16
17
18def initialize(context):
19
20    import ShortMessage
21
22    content_types, constructors, ftis = process_types(
23                   listTypes(PROJECTNAME),
24                   PROJECTNAME)
25
26    utils.ContentInit(
27                PROJECTNAME ,
28                content_types      = content_types,
29                permission         = ADD_CONTENT_PERMISSION,
30                extra_constructors = constructors,
31                fti                = ftis,
32                ).initialize(context)
Note: See TracBrowser for help on using the repository browser.