Open Journal Systems  2.4.8
 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 232 of file

Referenced by display().

InstallForm::dbInstallError (   $errorMsg)

Fail with a database installation error.


Definition at line 259 of file

References display().

Referenced by execute().

InstallForm::display ( )

Display the form.

Definition at line 114 of file

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

Referenced by dbInstallError(), and installError().

InstallForm::execute ( )

Perform installation.

Definition at line 201 of file

References dbInstallError(), and installError().

InstallForm::initData ( )

Initialize form data.

Definition at line 138 of file

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

InstallForm::installError (   $errorMsg)

Fail with a generic installation error.


Definition at line 248 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 170 of file

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

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