Logo Search packages:      
Sourcecode: zope-i18nfolder version File versions

__init__.py

#################################################################################
#                                                                               #
#                       copyright (c) 2003 Ingeniweb SARL                       #
#                                                                               #
#################################################################################

"""I18NFolder"""

from global_symbols import *

from Products.CMFCore.DirectoryView import registerDirectory
from Products.CMFCore import utils, CMFCorePermissions

import I18NFolder

registerDirectory('skins', globals())
registerDirectory('skins/I18NFolder', globals())

install_globals = globals()          # Used only in the Extensions/Install.py script


# Classes & constructors declaration
contentConstructors = (I18NFolder.addI18NFolder, )
contentClasses = (I18NFolder.I18NFolder, )


# Initialization method
def initialize(context):
    utils.ContentInit(
        'A multilingual folderish type',
        content_types = contentClasses,
        permission = I18NFolder_addPermission,
        extra_constructors = contentConstructors,
        fti = (I18NFolder.factory_type_information,),
        ).initialize(context)

Generated by  Doxygen 1.6.0   Back to index