Back to index

plone3  3.1.7
Variables
revertversion Namespace Reference

Variables

 RESPONSE = context.REQUEST.RESPONSE
 putils = container.plone_utils
 pr = container.portal_repository
string view_url = '%s/%s'
tuple title = context.title_or_id()
tuple msg
dictionary mapping = {'version': version_id}
string type = "warn"

Variable Documentation

dictionary revertversion.mapping = {'version': version_id}

Definition at line 32 of file revertversion.py.

Initial value:
00001 _(u'${title} has been reverted to version ${version}.',
00002         mapping={'title' : context.title_or_id(), 'version' : version_id})

Definition at line 26 of file revertversion.py.

revertversion.pr = container.portal_repository

Definition at line 16 of file revertversion.py.

revertversion.putils = container.plone_utils

Definition at line 15 of file revertversion.py.

revertversion.RESPONSE = context.REQUEST.RESPONSE

Definition at line 14 of file revertversion.py.

tuple revertversion.title = context.title_or_id()

Definition at line 22 of file revertversion.py.

string revertversion.type = "warn"

Definition at line 37 of file revertversion.py.

string revertversion.view_url = '%s/%s'

Definition at line 18 of file revertversion.py.