Back to index

plone3  3.1.7
Namespaces | Functions | Variables
plone.app.kss Namespace Reference

Namespaces

namespace  calendar
namespace  commands
namespace  config
namespace  content_replacer
namespace  demo
namespace  exportimport
namespace  globalui
namespace  headerviewlet
namespace  interfaces
namespace  kupu
namespace  lock
namespace  macro_replacer
namespace  plonekssview
namespace  plugins
namespace  portlet_refresher
namespace  portlets
namespace  refresh_content_menu
namespace  tests

Functions

def initialize

Variables

tuple __all__ = ()

Function Documentation

def plone.app.kss.initialize (   context)

Definition at line 9 of file __init__.py.

00009 
00010 def initialize(context):
00011 
00012     # register directory views
00013     registerDirectory(SKINS_DIR, GLOBALS)
00014     
00015     # Register kss extension to allow it used from fs skins
00016     registerFileExtension('kss', FSFile)
00017 
00018     # content initialization
00019     content_types, constructors, ftis = process_types( 
00020         listTypes(PROJECTNAME),
00021         PROJECTNAME)
00022 
00023     utils.ContentInit(
00024         PROJECTNAME + ' Content',
00025         content_types = content_types,
00026         permission = ADD_CONTENT_PERM,
00027         extra_constructors = constructors,
00028         ).initialize(context)

Here is the call graph for this function:


Variable Documentation

Definition at line 7 of file __init__.py.