Back to index

plone3  3.1.7
Variables
metadata_edit_form Namespace Reference

Variables

tuple mdtool = getUtilityByInterfaceName('Products.CMFCore.interfaces.IMetadataTool')
 form = context.REQUEST.form
dictionary options = {}
tuple allow_discussion = getattr(context, 'allow_discussion', None)
tuple subject = form.get('subject', context.Subject())
tuple allowed_subjects = mdtool.listAllowedSubjects(context)
list extra_subjects = [ s for s in subject if not s in allowed_subjects ]
list buttons = []
tuple target = context.getActionInfo('object/metadata')

Variable Documentation

tuple metadata_edit_form.allow_discussion = getattr(context, 'allow_discussion', None)

Definition at line 27 of file metadata_edit_form.py.

tuple metadata_edit_form.allowed_subjects = mdtool.listAllowedSubjects(context)

Definition at line 37 of file metadata_edit_form.py.

Definition at line 47 of file metadata_edit_form.py.

list metadata_edit_form.extra_subjects = [ s for s in subject if not s in allowed_subjects ]

Definition at line 38 of file metadata_edit_form.py.

metadata_edit_form.form = context.REQUEST.form

Definition at line 10 of file metadata_edit_form.py.

tuple metadata_edit_form.mdtool = getUtilityByInterfaceName('Products.CMFCore.interfaces.IMetadataTool')

Definition at line 7 of file metadata_edit_form.py.

dictionary metadata_edit_form.options = {}

Definition at line 25 of file metadata_edit_form.py.

tuple metadata_edit_form.subject = form.get('subject', context.Subject())

Definition at line 36 of file metadata_edit_form.py.

tuple metadata_edit_form.target = context.getActionInfo('object/metadata')

Definition at line 48 of file metadata_edit_form.py.