Back to index

plone3  3.1.7
Variables
getFolderContents Namespace Reference

Variables

 mtool = context.portal_membership
 Script (Python) "getFolderContents" bind container=container bind context=context bind namespace= bind script=script bind subpath=traverse_subpath parameters=contentFilter=None,batch=False,b_size=100,full_objects=False title=wrapper method around to use catalog to get folder contents.
string cur_path = '/'
dictionary path = {}
tuple contentFilter = dict(getattr(context.REQUEST, 'form',{}))
tuple show_inactive = mtool.checkPermission('Access inactive portal content', context)
tuple contents
tuple b_start = context.REQUEST.get('b_start', 0)
tuple batch = Batch(contents, b_size, int(b_start), orphan=0)

Variable Documentation

tuple getFolderContents.b_start = context.REQUEST.get('b_start', 0)

Definition at line 42 of file getFolderContents.py.

tuple getFolderContents.batch = Batch(contents, b_size, int(b_start), orphan=0)

Definition at line 43 of file getFolderContents.py.

tuple getFolderContents.contentFilter = dict(getattr(context.REQUEST, 'form',{}))

Definition at line 17 of file getFolderContents.py.

Initial value:
00001 context.portal_catalog.queryCatalog(contentFilter, show_all=1,
00002                                                   show_inactive=show_inactive)

Definition at line 34 of file getFolderContents.py.

Definition at line 12 of file getFolderContents.py.

getFolderContents.mtool = context.portal_membership

Script (Python) "getFolderContents" bind container=container bind context=context bind namespace= bind script=script bind subpath=traverse_subpath parameters=contentFilter=None,batch=False,b_size=100,full_objects=False title=wrapper method around to use catalog to get folder contents.

Definition at line 11 of file getFolderContents.py.

dictionary getFolderContents.path = {}

Definition at line 13 of file getFolderContents.py.

tuple getFolderContents.show_inactive = mtool.checkPermission('Access inactive portal content', context)

Definition at line 30 of file getFolderContents.py.