Constructor
PHPConfigValueRequirement
PHPConfigValueRequirement
(string $key, mixed $value, [optional $opt = PHPINI_EQUAL])
-
string
$key: The php.ini option to look for (ie, 'register_globals')
-
mixed
$value: The value that is required.
-
optional
$opt: int $opt An optional flag specifying how we should check the requirement. Options are: PHPINI_EQUAL (check for $key=$value, except for booleans), PHPINI_GREATER (check for $key>$value), PHPINI_LESS (check for $key<$value), PHPINI_BOOLEAN (will make sure the $key is true or false, depending on $value, which can be: "on", "off", true, false, 0, 1, "yes", "no", case insensitive)
Returns a Wizard object containing fields for user input to complete installation process.
ref
createWizard
()
Redefinition of:
- StartupRequirement::createWizard()
- 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.
int
doUpdate
([optional $properties = null])
-
optional
$properties: array $properties An array of WizardProperty objects corresponding to the Wizard as created by createWizard().
Redefinition of:
- StartupRequirement::doUpdate()
- 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.
Checks the environment and returns a status value. Return value is one of STARTUP_STATUS_* defines.
integer
getStatus
()
Redefinition of:
- StartupRequirement::getStatus()
- Checks the environment and returns a status value. Return value is one of STARTUP_STATUS_* defines.
Inherited Methods
Inherited From StartupRequirement
StartupRequirement::createWizard()
StartupRequirement::doUpdate()
StartupRequirement::getDisplayName()
StartupRequirement::getStatus()