Open Journal Systems  2.4.8
 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 ()
 requireSSL ()
 setDispatcher (&$dispatcher)
 setId ($id)
 validate ($requiredContexts=null, $request=null)

Detailed Description

Handle requests for user registration.

Definition at line 18 of file

Member Function Documentation

RegistrationHandler::activateUser (   $args,

Check credentials and activate a new user

Marc Bria

Definition at line 150 of file

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

RegistrationHandler::register (   $args,

Display registration form for new users.


Definition at line 31 of file

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

RegistrationHandler::registerUser (   $args,

Validate user registration information and register new user.


Definition at line 67 of file

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

RegistrationHandler::registrationDisabled (   $request)

Show error message if user registration is not allowed.


Definition at line 134 of file

References UserHandler\setupTemplate().

Referenced by validate().

RegistrationHandler::RegistrationHandler ( )


Definition at line 22 of file

RegistrationHandler::validate ( $request)

Validation check. Checks if journal allows user registration.


Definition at line 189 of file

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

Referenced by register(), and registerUser().

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