Open Monograph Press  1.1
 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)
 
 PKPInstallHandler ()
 
 setupTemplate ($request)
 
 upgrade ($args, $request)
 
 validate ($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 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 35 of file PKPInstallHandler.inc.php.

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

PKPInstallHandler::install (   $args,
  $request 
)

Execute installer.

Parameters
$argsarray
$requestPKPRequest

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

References setupTemplate(), and validate().

PKPInstallHandler::installUpgrade (   $args,
  $request 
)

Execute upgrade.

Parameters
$argsarray
$requestPKPRequest

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

References setupTemplate(), and validate().

PKPInstallHandler::PKPInstallHandler ( )

Constructor

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

PKPInstallHandler::setupTemplate (   $request)

Set up the installer template.

Parameters
$requestPKPRequest

Definition at line 122 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 86 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 55 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: