Public Member Functions

UserHandler Class Reference
[Pages_user]

Handle requests for user functions. More...

Inheritance diagram for UserHandler:
Handler ProfileHandler RegistrationHandler

List of all members.

Public Member Functions

 authorizationDenied ($args, &$request)
 become ($args, &$request)
 index ($args, &$request)
 initialize (&$request, $args)
 setLocale ($args, &$request)
 UserHandler ()
 validate ($loginCheck=true)
 viewCaptcha ($args, &$request)
 viewPublicProfile ($args, &$request)

Detailed Description

Handle requests for user functions.

Definition at line 18 of file UserHandler.inc.php.


Member Function Documentation

UserHandler.authorizationDenied ( args,
&$  request 
)

Display an authorization denied message.

Parameters:
$args array
$request Request

Definition at line 120 of file UserHandler.inc.php.

References validate().

UserHandler.become ( args,
&$  request 
)

Become a given role.

Parameters:
$args array
$request PKPRequest

Definition at line 82 of file UserHandler.inc.php.

References validate().

UserHandler.index ( args,
&$  request 
)

Index page; redirect to profile

Definition at line 37 of file UserHandler.inc.php.

UserHandler.initialize ( &$  request,
args 
)
See also:
PKPHandler.initialize()

Definition at line 29 of file UserHandler.inc.php.

UserHandler.setLocale ( args,
&$  request 
)

Change the locale for the current user.

Parameters:
$args array first parameter is the new locale

Definition at line 45 of file UserHandler.inc.php.

UserHandler.UserHandler (  ) 

Constructor

Definition at line 22 of file UserHandler.inc.php.

Referenced by ProfileHandler.ProfileHandler(), and RegistrationHandler.RegistrationHandler().

UserHandler.validate ( loginCheck = true  ) 

Validate that user is logged in. Redirects to login form if not logged in.

Parameters:
$loginCheck boolean check if user is logged in

Definition at line 141 of file UserHandler.inc.php.

References Validation.isLoggedIn(), and Validation.redirectLogin().

Referenced by authorizationDenied(), become(), and viewPublicProfile().

UserHandler.viewCaptcha ( args,
&$  request 
)

View a CAPTCHA test.

Parameters:
$args array
$request PKPRequest

Definition at line 157 of file UserHandler.inc.php.

UserHandler.viewPublicProfile ( args,
&$  request 
)

View the public user profile for a user, specified by user ID, if that user should be exposed for public view.

Parameters:
$args array
$request PKPRequest

Definition at line 178 of file UserHandler.inc.php.

References validate().


The documentation for this class was generated from the following file: