Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
RegistrationHandler Class Reference
Inheritance diagram for RegistrationHandler:
UserHandler Handler PKPHandler

Public Member Functions

 activateUser ($args, &$request)
 
 register ($args, &$request)
 
 registerUser ($args, &$request)
 
 registrationDisabled ($request)
 
 RegistrationHandler ()
 
 validate (&$request)
 
- Public Member Functions inherited from UserHandler
 _checkIncompleteSetup ($journal)
 
 _getRoleDataForJournal ($userId, $journalId, &$submissionsCount, &$isValid)
 
 authorizationDenied ($args, &$request)
 
 become ($args, &$request)
 
 completePurchaseSubscription ($args, &$request)
 
 gifts ($args, $request)
 
 index ($args, &$request)
 
 payMembership ($args, &$request)
 
 payPurchaseSubscription ($args, &$request)
 
 payRenewSubscription ($args, &$request)
 
 purchaseSubscription ($args, &$request)
 
 redeemGift ($args, $request)
 
 setLocale ($args, $request)
 
 setupTemplate (&$request, $subclass=false)
 
 subscriptions ($args, &$request)
 
 UserHandler ()
 
 validate ($loginCheck=true)
 
 viewPublicProfile ($args, &$request)
 
- Public Member Functions inherited from PKPHandler
 addCheck (&$handlerValidator)
 
 addPolicy (&$authorizationPolicy, $addToTop=false)
 
 addRoleAssignment ($roleIds, $operations)
 
 authorize (&$request, &$args, $roleAssignments)
 
getAuthorizedContext ()
 
getAuthorizedContextObject ($assocType)
 
getDispatcher ()
 
 getId ()
 
 getLastAuthorizationMessage ()
 
 getLoginExemptions ()
 
getRangeInfo ($rangeName, $contextData=null)
 
 getRoleAssignment ($roleId)
 
 getRoleAssignments ()
 
 hashPageContext ($contextData=array())
 
 index ()
 
 initialize (&$request, $args=null)
 
 PKPHandler ()
 
 setDispatcher (&$dispatcher)
 
 setId ($id)
 
 validate ($requiredContexts=null, $request=null)
 

Detailed Description

Handle requests for user registration.

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

Member Function Documentation

RegistrationHandler::activateUser (   $args,
$request 
)

Check credentials and activate a new user

Parameters
$argsarray
$requestPKPRequest
Author
Marc Bria marc..nosp@m.bria.nosp@m.@uab..nosp@m.es

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

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

RegistrationHandler::register (   $args,
$request 
)

Display registration form for new users.

Parameters
$argsarray
$requestPKPRequest

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

References DAORegistry\getDAO(), UserHandler\setupTemplate(), and validate().

RegistrationHandler::registerUser (   $args,
$request 
)

Validate user registration information and register new user.

Parameters
$argsarray
$requestPKPRequest

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

References Config\getVar(), Validation\login(), UserHandler\setupTemplate(), and validate().

RegistrationHandler::registrationDisabled (   $request)

Show error message if user registration is not allowed.

Parameters
$requestPKPRequest

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

References UserHandler\setupTemplate().

Referenced by validate().

RegistrationHandler::RegistrationHandler ( )

Constructor

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

RegistrationHandler::validate ( $request)

Validation check. Checks if journal allows user registration.

Parameters
$requestPKPRequest

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

References DAORegistry\getDAO(), and registrationDisabled().

Referenced by register(), and registerUser().


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