Back to index

plone3  3.1.7
Variables
author_find_content Namespace Reference

Variables

tuple catalog = getToolByName(context, 'portal_catalog')
tuple utils = getToolByName(context, 'plone_utils')
tuple friendly_types = utils.getUserFriendlyTypes()
dictionary found = {}
tuple content
 itemType = item.portal_type
tuple types = found.keys()
 The end result is a dictionary of lists, where the keys are the actual portal types.
list results = []

Variable Documentation

tuple author_find_content.catalog = getToolByName(context, 'portal_catalog')

Definition at line 13 of file author_find_content.py.

Initial value:
00001 catalog.searchResults(Creator      = author,
00002                                 portal_type  = friendly_types,
00003                                 sort_on      = 'modified',
00004                                 sort_order   = 'reverse')

Definition at line 19 of file author_find_content.py.

dictionary author_find_content.found = {}

Definition at line 18 of file author_find_content.py.

tuple author_find_content.friendly_types = utils.getUserFriendlyTypes()

Definition at line 16 of file author_find_content.py.

author_find_content.itemType = item.portal_type

Definition at line 25 of file author_find_content.py.

Definition at line 38 of file author_find_content.py.

tuple author_find_content.types = found.keys()

The end result is a dictionary of lists, where the keys are the actual portal types.

This means they are in rather random order..

Definition at line 35 of file author_find_content.py.

tuple author_find_content.utils = getToolByName(context, 'plone_utils')

Definition at line 14 of file author_find_content.py.