Open Monograph Press  1.1
 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 ($request)
 
 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)
 

Public Attributes

 $localesComplete
 
 $supportedClientCharsets
 
 $supportedConnectionCharsets
 
 $supportedDatabaseCharsets
 
 $supportedDatabaseDrivers
 
 $supportedLocales
 
- Public Attributes inherited from Form
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 
 $requiredLocale
 
 $supportedLocales
 

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 256 of file InstallForm.inc.php.

InstallForm::dbInstallError (   $errorMsg)

Fail with a database installation error.

Parameters
$errorMsgstring

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

InstallForm::display ( )

Display the form.

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

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

InstallForm::execute ( )

Perform installation.

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

InstallForm::initData ( )

Initialize form data.

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

InstallForm::installError (   $errorMsg)

Fail with a generic installation error.

Parameters
$errorMsgstring

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

InstallForm::InstallForm (   $request)

Constructor.

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

InstallForm::readInputData ( )

Assign form data to user-submitted data.

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

References Form\setData().

Member Data Documentation

array InstallForm::$localesComplete

locale completeness booleans

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

array InstallForm::$supportedClientCharsets

client character sets supported by this system

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

array InstallForm::$supportedConnectionCharsets

connection character sets supported by this system

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

array InstallForm::$supportedDatabaseCharsets

database character sets supported by this system

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

array InstallForm::$supportedDatabaseDrivers

database drivers supported by this system

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

array InstallForm::$supportedLocales

locales supported by this system

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


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