Back to index

plone3  3.1.7
Namespaces | Variables
folder_contents.py File Reference

Go to the source code of this file.

Namespaces

namespace  folder_contents

Variables

tuple folder_contents.mtool = getToolByName(script, 'portal_membership')
tuple folder_contents.utool = getToolByName(script, 'portal_url')
tuple folder_contents.portal_url = utool()
 folder_contents.form = context.REQUEST.form
string folder_contents.default_target = 'object/folderContents'
dictionary folder_contents.default_kw = {'b_start': b_start, 'key': key, 'reverse': reverse}
dictionary folder_contents.options = {}
tuple folder_contents.items_manage_allowed = mtool.checkPermission(ViewManagementScreens, context)
tuple folder_contents.items_delete_allowed = mtool.checkPermission(DeleteObjects, context)
tuple folder_contents.items_add_allowed = mtool.checkPermission(AddPortalContent, context)
tuple folder_contents.upitems_list_allowed
tuple folder_contents.items_move_allowed = mtool.checkPermission(ManageProperties, context)
dictionary folder_contents.up_info = {}
 folder_contents.up_obj = context.aq_parent
tuple folder_contents.up_url = up_obj.getActionInfo('object/folderContents')
tuple folder_contents.target = context.getActionInfo(default_target)
int folder_contents.is_default = 1
tuple folder_contents.columns
tuple folder_contents.query = make_query(key=column['key'], reverse=1)
tuple folder_contents.folderfilter = context.REQUEST.get('folderfilter', '')
tuple folder_contents.filter = context.decodeFolderFilter(folderfilter)
tuple folder_contents.items = context.listFolderContents(contentFilter=filter)
tuple folder_contents.batch_obj = Batch(items, 25, b_start, orphan=0)
int folder_contents.i = 1
tuple folder_contents.item_icon = item.getIcon(1)
tuple folder_contents.item_id = item.getId()
string folder_contents.item_position = 'position'
tuple folder_contents.item_url
tuple folder_contents.navigation = context.getBatchNavigation(batch_obj, target, **default_kw)
list folder_contents.hidden_vars = []
list folder_contents.buttons = []
 folder_contents.length = batch_obj.sequence_length
tuple folder_contents.is_orderable = items_move_allowedand(key == 'position')
 folder_contents.is_sortable = items_move_allowedandnotis_default
tuple folder_contents.deltas = range( 1, min(5, length) )