InstallForm Class Reference
[Install_form]

Form for system installation. More...

Inheritance diagram for InstallForm:

Form

List of all members.

Public Member Functions

 checkDBDrivers ()
 dbInstallError ($errorMsg)
 display ()
 execute ()
 initData ()
 installError ($errorMsg)
 InstallForm ()
 readInputData ()


Detailed Description

Form for system installation.

See also:
Install

Definition at line 29 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 227 of file InstallForm.inc.php.

Referenced by display().

InstallForm.dbInstallError ( errorMsg  ) 

Fail with a database installation error.

Parameters:
$errorMsg string

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

References display(), TemplateManager.getManager(), and Locale.translate().

Referenced by execute().

InstallForm.display (  ) 

Display the form.

Reimplemented from Form.

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

References checkDBDrivers(), VersionCheck.getCurrentCodeVersion(), TemplateManager.getManager(), String.hasMBString(), and Locale.translate().

Referenced by dbInstallError(), and installError().

InstallForm.execute (  ) 

Perform installation.

Reimplemented from Form.

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

References dbInstallError(), Form.getData(), TemplateManager.getManager(), and installError().

InstallForm.initData (  ) 

Initialize form data.

Reimplemented from Form.

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

References Locale.getLocale(), Request.getServerHost(), and Core.isWindows().

InstallForm.installError ( errorMsg  ) 

Fail with a generic installation error.

Parameters:
$errorMsg string

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

References display(), and TemplateManager.getManager().

Referenced by execute().

InstallForm.InstallForm (  ) 

Constructor.

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

References Form.addCheck(), Locale.getAllLocales(), and Locale.translate().

InstallForm.readInputData (  ) 

Assign form data to user-submitted data.

Reimplemented from Form.

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

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


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

Generated on Mon Jul 14 10:55:43 2008 for Open Journal Systems by  doxygen 1.5.6