Back to index

plone3  3.1.7
Namespaces | Functions | Variables
CMFEditions.tests.FAQ Namespace Reference

Namespaces

namespace  FAQ
namespace  FAQQuestion

Functions

def initialize

Variables

string ADD_CONTENT_PERMISSION = '''Add FAQ content'''
string PROJECTNAME = "FAQ"
tuple product_globals = globals()

Function Documentation

Definition at line 14 of file __init__.py.

00014 
00015 def initialize(context):
00016     ##Import Types here to register them (were removed by pyflake check!)
00017     import FAQ
00018     import FAQQuestion
00019 
00020     content_types, constructors, ftis = process_types(
00021         listTypes(PROJECTNAME),
00022         PROJECTNAME)
00023 
00024     utils.ContentInit(
00025         PROJECTNAME + ' Content',
00026         content_types      = content_types,
00027         permission         = ADD_CONTENT_PERMISSION,
00028         extra_constructors = constructors,
00029         fti                = ftis,
00030         ).initialize(context)

Here is the call graph for this function:


Variable Documentation

string CMFEditions.tests.FAQ.ADD_CONTENT_PERMISSION = '''Add FAQ content'''

Definition at line 5 of file __init__.py.

Definition at line 8 of file __init__.py.

Definition at line 6 of file __init__.py.