Public Member Functions

InstallForm Class Reference
[Install_form]

Form for system installation. More...

List of all members.

Public Member Functions

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

Detailed Description

Form for system installation.

See also:
Install

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

Referenced by display().

InstallForm.checkGeneralPHPModule ( moduleName  ) 

Checks to see if a PHP module is enabled.

Parameters:
$moduleName string
Returns:
boolean

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

Referenced by display().

InstallForm.dbInstallError ( errorMsg  ) 

Fail with a database installation error.

Parameters:
$errorMsg string

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

References display().

Referenced by execute().

InstallForm.display (  ) 

Display the form.

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

References checkDBDrivers(), and checkGeneralPHPModule().

Referenced by dbInstallError(), and installError().

InstallForm.execute (  ) 

Perform installation.

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

References dbInstallError(), and installError().

InstallForm.initData (  ) 

Initialize form data.

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

InstallForm.installError ( errorMsg  ) 

Fail with a generic installation error.

Parameters:
$errorMsg string

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

References display().

Referenced by execute().

InstallForm.InstallForm (  ) 

Constructor.

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

InstallForm.readInputData (  ) 

Assign form data to user-submitted data.

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


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