Back to index

plone3  3.1.7
Functions | Variables
metadata_edit_control Namespace Reference

Functions

def tuplify

Variables

tuple dtool = getUtilityByInterfaceName('Products.CMFCore.interfaces.IDiscussionTool')
tuple title = context.Title()
tuple subject = context.Subject()
tuple description = context.Description()
tuple contributors = context.Contributors()
tuple effective_date = context.EffectiveDate()
tuple expiration_date = context.expires()
tuple format = context.Format()
tuple language = context.Language()
tuple rights = context.Rights()
 allow_discussion = None

Function Documentation

Definition at line 9 of file metadata_edit_control.py.

00009 
00010 def tuplify( value ):
00011 
00012     if not same_type( value, () ):
00013         value = tuple( value )
00014 
00015     temp = filter( None, value )
00016     return tuple( temp )

Here is the caller graph for this function:


Variable Documentation

Definition at line 49 of file metadata_edit_control.py.

tuple metadata_edit_control.contributors = context.Contributors()

Definition at line 29 of file metadata_edit_control.py.

tuple metadata_edit_control.description = context.Description()

Definition at line 26 of file metadata_edit_control.py.

tuple metadata_edit_control.dtool = getUtilityByInterfaceName('Products.CMFCore.interfaces.IDiscussionTool')

Definition at line 7 of file metadata_edit_control.py.

tuple metadata_edit_control.effective_date = context.EffectiveDate()

Definition at line 34 of file metadata_edit_control.py.

tuple metadata_edit_control.expiration_date = context.expires()

Definition at line 37 of file metadata_edit_control.py.

tuple metadata_edit_control.format = context.Format()

Definition at line 40 of file metadata_edit_control.py.

tuple metadata_edit_control.language = context.Language()

Definition at line 43 of file metadata_edit_control.py.

tuple metadata_edit_control.rights = context.Rights()

Definition at line 46 of file metadata_edit_control.py.

tuple metadata_edit_control.subject = context.Subject()

Definition at line 21 of file metadata_edit_control.py.

tuple metadata_edit_control.title = context.Title()

Definition at line 18 of file metadata_edit_control.py.