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
 $_checks = array()
 $_roleAssignments = array()

Detailed Description

Handle requests for user registration.

Definition at line 19 of file

Member Function Documentation

RegistrationHandler::activateUser (   $args,

Check credentials and activate a new user

Marc Bria

Definition at line 130 of file

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

RegistrationHandler::register (   $args,

Display registration form for new users.


Definition at line 32 of file

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

RegistrationHandler::registerUser (   $args,

Validate user registration information and register new user.


Definition at line 64 of file

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

RegistrationHandler::registrationDisabled (   $args,

Show error message if user registration is not allowed.


Definition at line 116 of file

References PKPHandler\setupTemplate().

Referenced by validate().

RegistrationHandler::RegistrationHandler ( )


Definition at line 23 of file

RegistrationHandler::validate (   $request)

Validation check. Checks if context allows user registration.

Definition at line 167 of file

References registrationDisabled().

Referenced by register(), and registerUser().

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