Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
PKPUserHandler Class Reference
Inheritance diagram for PKPUserHandler:
Handler PKPHandler UserHandler ProfileHandler RegistrationHandler

Public Member Functions

 authorizationDenied ($args, $request)
 
 getInterests ($args, $request)
 
 PKPUserHandler ()
 
 setLocale ($args, $request)
 
 toggleHelp ($args, $request)
 
- Public Member Functions inherited from Handler
 getSiteRedirectContext ($request)
 
 getTargetContext ($request, $bestGuess=true)
 
 getWorkingContexts ($request)
 
 Handler ()
 
- Public Member Functions inherited from PKPHandler
 addCheck (&$handlerValidator)
 
 addPolicy ($authorizationPolicy, $addToTop=false)
 
 addRoleAssignment ($roleIds, $operations)
 
 authorize ($request, &$args, $roleAssignments, $enforceRestrictedSite=true)
 
getAuthorizedContext ()
 
getAuthorizedContextObject ($assocType)
 
getDispatcher ()
 
 getFirstUserContext ($user, $contexts)
 
 getId ()
 
 getLastAuthorizationMessage ()
 
 getLoginExemptions ()
 
 getRoleAssignment ($roleId)
 
 getRoleAssignments ()
 
 getWorkingContexts ($request)
 
 index ($args, $request)
 
 initialize ($request, $args=null)
 
 PKPHandler ()
 
 setDispatcher ($dispatcher)
 
 setId ($id)
 
 setupTemplate ($request)
 
 validate ($requiredContexts=null, $request=null)
 

Additional Inherited Members

- Static Public Member Functions inherited from PKPHandler
static getPageParamName ($rangeName)
 
static getRangeInfo ($request, $rangeName, $contextData=null)
 
static hashPageContext ($request, $contextData=array())
 
- Public Attributes inherited from PKPHandler
 $_authorizationDecisionManager
 
 $_checks = array()
 
 $_dispatcher
 
 $_id
 
 $_roleAssignments = array()
 

Detailed Description

Handle requests for user functions.

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

Member Function Documentation

PKPUserHandler::authorizationDenied (   $args,
  $request 
)

Display an authorization denied message.

Parameters
$argsarray
$requestRequest

Definition at line 103 of file PKPUserHandler.inc.php.

References PKPValidation\redirectLogin(), AppLocale\requireComponents(), and PKPHandler\setupTemplate().

PKPUserHandler::getInterests (   $args,
  $request 
)

Get keywords for reviewer interests autocomplete.

Parameters
$argsarray
$requestPKPRequest
Returns
string Serialized JSON object

Definition at line 65 of file PKPUserHandler.inc.php.

PKPUserHandler::PKPUserHandler ( )

Constructor

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

PKPUserHandler::setLocale (   $args,
  $request 
)

Change the locale for the current user.

Parameters
$argsarray first parameter is the new locale

Definition at line 30 of file PKPUserHandler.inc.php.

References PKPLocale\isLocaleValid().

PKPUserHandler::toggleHelp (   $args,
  $request 
)

Persist the status for a user's preference to see inline help.

Parameters
$argsarray
$requestPKPRequest
Returns
string Serialized JSON object

Definition at line 85 of file PKPUserHandler.inc.php.

References DAORegistry\getDAO().


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