Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
InstallForm Class Reference
Inheritance diagram for InstallForm:
Form

Public Member Functions

 checkDBDrivers ()
 
 dbInstallError ($errorMsg)
 
 display ()
 
 execute ()
 
 initData ()
 
 installError ($errorMsg)
 
 InstallForm ()
 
 readInputData ()
 
- Public Member Functions inherited from Form
 _decomposeArray ($name, $value, $stack)
 
 addCheck ($formValidator)
 
 addError ($field, $message)
 
 addErrorField ($field)
 
 display ($request=null, $template=null)
 
 execute ($object=null)
 
 fetch (&$request, $template=null, $display=false)
 
 Form ($template=null, $callHooks=true, $requiredLocale=null, $supportedLocales=null)
 
 getData ($key)
 
 getDefaultFormLocale ()
 
 getErrorsArray ()
 
 getFormLocale ()
 
 getLocaleFieldNames ()
 
 getRequiredLocale ()
 
 getTemplate ()
 
 initData ()
 
 isLocaleResubmit ()
 
 isValid ()
 
 readInputData ()
 
 readUserDateVars ($vars)
 
 readUserVars ($vars)
 
 setData ($key, $value)
 
 setTemplate ($template)
 
 smartyFormLanguageChooser ($params, &$smarty)
 
 validate ($callHooks=true)
 

Additional Inherited Members

- Public Attributes inherited from Form
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 

Detailed Description

Form for system installation.

See Also
Install

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

Member Function Documentation

InstallForm::checkDBDrivers ( )

Check if database drivers have the required PHP module loaded. The names of drivers that appear to be unavailable are bracketed.

Returns
array

Definition at line 228 of file InstallForm.inc.php.

Referenced by display().

InstallForm::dbInstallError (   $errorMsg)

Fail with a database installation error.

Parameters
$errorMsgstring

Definition at line 255 of file InstallForm.inc.php.

References display().

Referenced by execute().

InstallForm::display ( )

Display the form.

Definition at line 113 of file InstallForm.inc.php.

References checkDBDrivers(), VersionCheck\getCurrentCodeVersion(), and String\hasMBString().

Referenced by dbInstallError(), and installError().

InstallForm::execute ( )

Perform installation.

Definition at line 197 of file InstallForm.inc.php.

References dbInstallError(), and installError().

InstallForm::initData ( )

Initialize form data.

Definition at line 136 of file InstallForm.inc.php.

References AppLocale\getLocale(), PKPRequest\getServerHost(), and Core\isWindows().

InstallForm::installError (   $errorMsg)

Fail with a generic installation error.

Parameters
$errorMsgstring

Definition at line 244 of file InstallForm.inc.php.

References display().

Referenced by execute().

InstallForm::InstallForm ( )

Constructor.

Definition at line 48 of file InstallForm.inc.php.

References Form\addCheck(), PKPLocale\getAllLocales(), and PKPLocale\isLocaleComplete().

InstallForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 167 of file InstallForm.inc.php.

References Form\getData(), Form\readUserVars(), and Form\setData().


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