Back to index

plone3  3.1.7
Variables
recent_news Namespace Reference

Variables

tuple ctool = getToolByName(script, 'portal_catalog')
tuple utool = getToolByName(script, 'portal_url')
tuple portal_url = utool()
dictionary options = {}
string target = '%s/recent_news'
tuple items
tuple batch_obj = Batch(items, 10, b_start, orphan=1)
tuple navigation = context.getBatchNavigation(batch_obj, target)

Variable Documentation

tuple recent_news.batch_obj = Batch(items, 10, b_start, orphan=1)

Definition at line 18 of file recent_news.py.

tuple recent_news.ctool = getToolByName(script, 'portal_catalog')

Definition at line 8 of file recent_news.py.

Initial value:
00001 ctool.searchResults(portal_type='News Item', sort_on='Date',
00002                             sort_order='reverse', review_state='published')

Definition at line 16 of file recent_news.py.

tuple recent_news.navigation = context.getBatchNavigation(batch_obj, target)

Definition at line 27 of file recent_news.py.

dictionary recent_news.options = {}

Definition at line 13 of file recent_news.py.

Definition at line 10 of file recent_news.py.

string recent_news.target = '%s/recent_news'

Definition at line 15 of file recent_news.py.

tuple recent_news.utool = getToolByName(script, 'portal_url')

Definition at line 9 of file recent_news.py.