Back to index

plone3  3.1.7
Namespaces | Functions | Variables
Archetypes Namespace Reference

Namespaces

namespace  __pkginfo__
namespace  AggregatedStorage
namespace  AllowedTypesByIface
namespace  annotations
namespace  ApeSupport
namespace  ArchetypeTool
namespace  ArchTTWTool
namespace  atapi
namespace  athistoryaware
namespace  BaseBTreeFolder
namespace  BaseContent
namespace  BaseFolder
namespace  BaseObject
namespace  BaseUnit
namespace  bbb
namespace  browser
namespace  CatalogMultiplex
namespace  ClassGen
namespace  config
namespace  customizationpolicy
namespace  debug
namespace  event
namespace  examples
namespace  exceptions
namespace  exportimport
namespace  Extensions
namespace  Field
namespace  fieldproperty
namespace  generator
namespace  interfaces
namespace  Layer
namespace  Marshall
namespace  mimetype_utils
namespace  OrderedBaseFolder
namespace  PloneCompat
namespace  public
namespace  ref_graph
namespace  Referenceable
namespace  ReferenceEngine
namespace  references
namespace  Registry
namespace  Renderer
namespace  Schema
namespace  setuphandlers
namespace  SQLMethod
namespace  SQLStorage
namespace  SQLStorageConfig
namespace  Storage
namespace  TemplateMixin
namespace  tests
namespace  UIDCatalog
namespace  utils
namespace  validator
namespace  VariableSchemaSupport
namespace  WebDAVSupport
namespace  Widget

Functions

def initialize

Variables

tuple __version__ = open(os.path.join(__path__[0], 'version.txt'))
tuple PloneMessageFactory = MessageFactory('plone')
list ATToolModule = sys.modules[ArchetypeTool.__module__]
tuple tools
tuple types_globals = globals()

Function Documentation

def Archetypes.initialize (   context)

Definition at line 71 of file __init__.py.

00071 
00072 def initialize(context):
00073     from Products.CMFCore import utils
00074 
00075     utils.ToolInit("%s Tool" % PKG_NAME, tools=tools,
00076                    icon="tool.gif",
00077                    ).initialize(context)
00078 
00079     if REGISTER_DEMO_TYPES:
00080         import Products.Archetypes.examples
00081 
00082         content_types, constructors, ftis = process_types(
00083             listTypes(PKG_NAME), PKG_NAME)
00084 
00085         utils.ContentInit(
00086             '%s Content' % PKG_NAME,
00087             content_types = content_types,
00088             permission = permissions.AddPortalContent,
00089             extra_constructors = constructors,
00090             fti = ftis,
00091             ).initialize(context)
00092     try:
00093         from Products.CMFCore.FSFile import FSFile
00094         from Products.CMFCore.DirectoryView import registerFileExtension
00095         registerFileExtension('xsl', FSFile)
00096         registerFileExtension('xul', FSFile)
00097     except ImportError:
00098         pass

Here is the call graph for this function:


Variable Documentation

tuple Archetypes.__version__ = open(os.path.join(__path__[0], 'version.txt'))

Definition at line 2 of file __init__.py.

list Archetypes.ATToolModule = sys.modules[ArchetypeTool.__module__]

Definition at line 56 of file __init__.py.

tuple Archetypes.PloneMessageFactory = MessageFactory('plone')

Definition at line 40 of file __init__.py.

Initial value:
00001 (
00002     ArchetypeTool,
00003     ArchTTWTool,
00004     RefTool,
00005     UIDTool,
00006     )

Definition at line 62 of file __init__.py.

tuple Archetypes.types_globals = globals()

Definition at line 69 of file __init__.py.