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

Public Member Functions

 activateUser ($args, $request)
 
 register ($args, $request)
 
 registerUser ($args, $request)
 
 registrationDisabled ($args, $request)
 
 RegistrationHandler ()
 
 validate ($request)
 
- Public Member Functions inherited from UserHandler
 become ($args, $request)
 
 index ($args, $request)
 
 initialize ($request, &$args)
 
 UserHandler ()
 
- Public Member Functions inherited from PKPUserHandler
 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 registration.

Definition at line 19 of file RegistrationHandler.inc.php.

Member Function Documentation

RegistrationHandler::activateUser (   $args,
  $request 
)

Check credentials and activate a new user

Author
Marc Bria marc..nosp@m.bria.nosp@m.@uab..nosp@m.es

Definition at line 130 of file RegistrationHandler.inc.php.

References AccessKeyManager\generateKeyHash(), Core\getCurrentDate(), and DAORegistry\getDAO().

RegistrationHandler::register (   $args,
  $request 
)

Display registration form for new users.

Parameters
$argsarray
$requestPKPRequest

Definition at line 32 of file RegistrationHandler.inc.php.

References Application\getContextDAO(), PKPHandler\setupTemplate(), and validate().

RegistrationHandler::registerUser (   $args,
  $request 
)

Validate user registration information and register new user.

Parameters
$argsarray
$requestPKPRequest

Definition at line 64 of file RegistrationHandler.inc.php.

References Config\getVar(), PKPValidation\login(), PKPHandler\setupTemplate(), and validate().

RegistrationHandler::registrationDisabled (   $args,
  $request 
)

Show error message if user registration is not allowed.

Parameters
$argsarray
$requestPKPRequest

Definition at line 116 of file RegistrationHandler.inc.php.

References PKPHandler\setupTemplate().

Referenced by validate().

RegistrationHandler::RegistrationHandler ( )

Constructor

Definition at line 23 of file RegistrationHandler.inc.php.

RegistrationHandler::validate (   $request)

Validation check. Checks if context allows user registration.

Definition at line 167 of file RegistrationHandler.inc.php.

References registrationDisabled().

Referenced by register(), and registerUser().


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