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

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

Detailed Description

Form for system installation.

See Also

Definition at line 25 of file

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.


Definition at line 228 of file

Referenced by display().

InstallForm::dbInstallError (   $errorMsg)

Fail with a database installation error.


Definition at line 255 of file

References display().

Referenced by execute().

InstallForm::display ( )

Display the form.

Definition at line 113 of file

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

Referenced by dbInstallError(), and installError().

InstallForm::execute ( )

Perform installation.

Definition at line 197 of file

References dbInstallError(), and installError().

InstallForm::initData ( )

Initialize form data.

Definition at line 136 of file

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

InstallForm::installError (   $errorMsg)

Fail with a generic installation error.


Definition at line 244 of file

References display().

Referenced by execute().

InstallForm::InstallForm ( )


Definition at line 48 of file

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

InstallForm::readInputData ( )

Assign form data to user-submitted data.

Definition at line 167 of file

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

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