Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
PKPInstallHandler Class Reference
Inheritance diagram for PKPInstallHandler:
Handler PKPHandler

Public Member Functions

 index ($args, &$request)
 
 install ($args, &$request)
 
 installUpgrade ($args, &$request)
 
 setupTemplate ()
 
 upgrade ($args, &$request)
 
 validate ($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 installation requests.

Definition at line 21 of file PKPInstallHandler.inc.php.

Member Function Documentation

PKPInstallHandler::index (   $args,
$request 
)

If no context is selected, list all. Otherwise, display the index page for the selected context.

Parameters
$argsarray
$requestPKPRequest

Definition at line 29 of file PKPInstallHandler.inc.php.

References PKPLocale\isLocaleValid(), setupTemplate(), and validate().

PKPInstallHandler::install (   $args,
$request 
)

Execute installer.

Parameters
$argsarray
$requestPKPRequest

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

References setupTemplate(), and validate().

PKPInstallHandler::installUpgrade (   $args,
$request 
)

Execute upgrade.

Parameters
$argsarray
$requestPKPRequest

Definition at line 106 of file PKPInstallHandler.inc.php.

References setupTemplate(), and validate().

PKPInstallHandler::setupTemplate ( )

Set up the installer template.

Definition at line 123 of file PKPInstallHandler.inc.php.

References AppLocale\requireComponents().

Referenced by index(), install(), installUpgrade(), and upgrade().

PKPInstallHandler::upgrade (   $args,
$request 
)

Display upgrade form.

Parameters
$argsarray
$requestPKPRequest

Definition at line 88 of file PKPInstallHandler.inc.php.

References PKPLocale\isLocaleValid(), setupTemplate(), and validate().

PKPInstallHandler::validate (   $request)

Redirect to index if system has already been installed.

Parameters
$requestPKPRequest

Definition at line 53 of file PKPInstallHandler.inc.php.

References Config\getVar().

Referenced by index(), install(), installUpgrade(), and upgrade().


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