Class StartupRequirement

Description

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.

  • version: $Id: StartupRequirement.interface.php,v 1.8 2007/09/19 14:04:50 adamfranco Exp $
  • license: GNU General Public License (GPL)
  • copyright: Copyright © 2005, Middlebury College

Located in /polyphony/main/library/StartupCheck/StartupRequirement.interface.php (line 23)


	
			
Direct descendents
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.
Method Summary
ref createWizard ()
int doUpdate ([optional $properties = null])
string getDisplayName ()
integer getStatus ()
Methods
createWizard (line 50)

Returns a Wizard object containing fields for user input to complete installation process.

  • return: object
  • access: public
ref createWizard ()

Redefined in descendants as:
doUpdate (line 61)

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.

  • return: Returns the new status of this requirement after attempting update.
  • access: public
int doUpdate ([optional $properties = null])

Redefined in descendants as:
getDisplayName (line 40)

Returns this requirement's display name.

  • access: public
string getDisplayName ()

Redefined in descendants as:
getStatus (line 30)

Checks the environment and returns a status value. Return value is one of STARTUP_STATUS_* defines.

  • access: public
integer getStatus ()

Redefined in descendants as:

Documentation generated on Wed, 19 Sep 2007 10:26:41 -0400 by phpDocumentor 1.3.0RC3