A startup requirement is part of the application install/update system. A requirement class has the ability to check to make sure that the environment for running said program is OK, or to make updates to settings, database tables, etc to adjust for changes or program updates.
Located in /polyphony/main/library/StartupCheck/StartupRequirement.interface.php (line 23)
| Class | Description |
|---|---|
| ExtensionRequirement | This StartupRequirement checks to make sure PHP has a given extension loaded (or can load it). |
| HarmoniVersionRequirement | This StartupRequirement checks to make sure we are running a certain version of Harmoni, or newer. |
| PHPConfigValueRequirement | A StartupRequirement that checks the value of a PHP config option. If the check fails, it will output an error message. |
Returns a Wizard object containing fields for user input to complete installation process.
Tells the requirement class to perform its update/install operation. If user input is required, it is passed in the form of a WizardStep containing field values.
Returns this requirement's display name.
Checks the environment and returns a status value. Return value is one of STARTUP_STATUS_* defines.
Documentation generated on Wed, 19 Sep 2007 10:26:41 -0400 by phpDocumentor 1.3.0RC3