Back to index

plone3  3.1.7
Variables
logged_in Namespace Reference

Variables

tuple mtool = getToolByName(script, 'portal_membership')
tuple ptool = getUtilityByInterfaceName('Products.CMFCore.interfaces.IPropertiesTool')
tuple stool = getToolByName(script, 'portal_skins')
tuple utool = getToolByName(script, 'portal_url')
tuple portal_url = utool()
dictionary options = {}
tuple isAnon = mtool.isAnonymousUser()
tuple member = mtool.getAuthenticatedMember()
tuple now = context.ZopeTime()
tuple last_login = member.getProperty('login_time', None)
tuple is_first_login
string target = '%s/password_form'
tuple came_from = context.REQUEST.get('came_from', None)

Variable Documentation

tuple logged_in.came_from = context.REQUEST.get('came_from', None)

Definition at line 42 of file logged_in.py.

Initial value:
00001 (last_login == '2000/01/01' and
00002                       ptool.getProperty('validate_email'))

Definition at line 33 of file logged_in.py.

tuple logged_in.isAnon = mtool.isAnonymousUser()

Definition at line 21 of file logged_in.py.

tuple logged_in.last_login = member.getProperty('login_time', None)

Definition at line 31 of file logged_in.py.

tuple logged_in.member = mtool.getAuthenticatedMember()

Definition at line 29 of file logged_in.py.

tuple logged_in.mtool = getToolByName(script, 'portal_membership')

Definition at line 8 of file logged_in.py.

tuple logged_in.now = context.ZopeTime()

Definition at line 30 of file logged_in.py.

dictionary logged_in.options = {}

Definition at line 19 of file logged_in.py.

Definition at line 12 of file logged_in.py.

tuple logged_in.ptool = getUtilityByInterfaceName('Products.CMFCore.interfaces.IPropertiesTool')

Definition at line 9 of file logged_in.py.

tuple logged_in.stool = getToolByName(script, 'portal_skins')

Definition at line 10 of file logged_in.py.

string logged_in.target = '%s/password_form'

Definition at line 37 of file logged_in.py.

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

Definition at line 11 of file logged_in.py.