Back to index

plone3  3.1.7
Variables
getPortalTypeList Namespace Reference

Variables

tuple pt_tool = getToolByName(context, 'portal_types')
tuple plone_utils = getToolByName(context, 'plone_utils')
 normalizeString = plone_utils.normalizeString
tuple type_info = pt_tool.listTypeInfo()
dictionary excluded_ids
list result = []
tuple item_id = item.getId()

Variable Documentation

Initial value:
00001 {
00002     'TempFolder': None,
00003     'CMF Document': None,
00004     'CMF Event': None,
00005     'CMF Favorite': None,
00006     'CMF File': None,
00007     'CMF Folder': None,
00008     'CMF Image': None,
00009     'CMF Large Plone Folder': None,
00010     'CMF Link': None,
00011     'CMF News Item': None,
00012     'CMF Topic': None,
00013     'ATCurrentAuthorCriterion': None,
00014     'ATDateRangeCriterion': None,
00015     'ATDateCriteria': None,
00016     'ATListCriterion': None,
00017     'ATPathCriterion': None,
00018     'ATRelativePathCriterion': None,
00019     'ATPortalTypeCriterion': None,
00020     'ATReferenceCriterion': None,
00021     'ATBooleanCriterion': None, 
00022     'ATSelectionCriterion': None,
00023     'ATSimpleIntCriterion': None,
00024     'ATSimpleStringCriterion': None,
00025     'ATSortCriterion': None,
00026 }

Definition at line 19 of file getPortalTypeList.py.

tuple getPortalTypeList.item_id = item.getId()

Definition at line 48 of file getPortalTypeList.py.

getPortalTypeList.normalizeString = plone_utils.normalizeString

Definition at line 15 of file getPortalTypeList.py.

tuple getPortalTypeList.plone_utils = getToolByName(context, 'plone_utils')

Definition at line 14 of file getPortalTypeList.py.

tuple getPortalTypeList.pt_tool = getToolByName(context, 'portal_types')

Definition at line 13 of file getPortalTypeList.py.

Definition at line 46 of file getPortalTypeList.py.

tuple getPortalTypeList.type_info = pt_tool.listTypeInfo()

Definition at line 17 of file getPortalTypeList.py.