Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
UpgradeForm Class Reference
Inheritance diagram for UpgradeForm:
Form

Public Member Functions

 dbInstallError ($errorMsg)
 
 display ()
 
 execute ()
 
 installError ($errorMsg)
 
 UpgradeForm ()
 
- 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
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 

Detailed Description

Form for system upgrades.

Definition at line 19 of file UpgradeForm.inc.php.

Member Function Documentation

UpgradeForm::dbInstallError (   $errorMsg)

Fail with a database installation error.

Parameters
$errorMsgstring

Definition at line 90 of file UpgradeForm.inc.php.

References display().

Referenced by execute().

UpgradeForm::display ( )

Display the form.

Definition at line 32 of file UpgradeForm.inc.php.

References VersionCheck\getCurrentCodeVersion().

Referenced by dbInstallError(), and installError().

UpgradeForm::execute ( )

Perform installation.

Definition at line 42 of file UpgradeForm.inc.php.

References dbInstallError(), and installError().

UpgradeForm::installError (   $errorMsg)

Fail with a generic installation error.

Parameters
$errorMsgstring

Definition at line 80 of file UpgradeForm.inc.php.

References display().

Referenced by execute().

UpgradeForm::UpgradeForm ( )

Constructor.

Definition at line 24 of file UpgradeForm.inc.php.

References Form\addCheck().


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