Logo Search packages:      
Sourcecode: zope-atrbw version File versions  Download package

__init__.py

from Products.CMFCore import utils
from Products.CMFCore.DirectoryView import registerDirectory
from Products.Archetypes.public import process_types, listTypes
from config import *

registerDirectory(SKINS_DIR, GLOBALS)

import ATRefBrowserDemo

def initialize(context):
    content_types, constructors, ftis = process_types(
        listTypes(PROJECTNAME),
        PROJECTNAME)
    utils.ContentInit(
        PROJECTNAME + ' Content',
        content_types      = content_types,
        permission         = ADD_CONTENT_PERMISSION,
        extra_constructors = constructors,
        fti                = ftis,
        ).initialize(context)

Generated by  Doxygen 1.6.0   Back to index