Documentation is available at StartupRequirement.interface.php
- <?php
- /**
- * @package polyphony.startupcheck
- *
- * @copyright Copyright © 2005, Middlebury College
- * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License (GPL)
- *
- * @version $Id: StartupRequirement.interface.php,v 1.8 2007/09/19 14:04:50 adamfranco Exp $
- */
- /**
- * 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.
- *
- * @package polyphony.startupcheck
- *
- * @copyright Copyright © 2005, Middlebury College
- * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License (GPL)
- *
- * @version $Id: StartupRequirement.interface.php,v 1.8 2007/09/19 14:04:50 adamfranco Exp $
- */
- class StartupRequirement {
- /**
- * Checks the environment and returns a status value. Return value is one of STARTUP_STATUS_* defines.
- * @access public
- * @return integer
- */
- function getStatus()
- {
- }
- /**
- * Returns this requirement's display name.
- * @access public
- * @return string
- */
- function getDisplayName()
- {
- }
- /**
- * Returns a {@link Wizard} object containing fields for user input to complete installation process.
- * @access public
- * @return ref object
- */
- function createWizard()
- {
- }
- /**
- * Tells the requirement class to perform its update/install operation. If user input is required, it is passed in the form of a {@link WizardStep} containing field values.
- * @param optional array $properties An array of values gotten from the {@link Wizard} as created by {@link StartupRequirement::createWizard()}.
- * @access public
- * @return int Returns the new status of this requirement after attempting update.
- */
- function doUpdate( $properties = null )
- {
- }
- }
- ?>
Documentation generated on Wed, 19 Sep 2007 10:26:41 -0400 by phpDocumentor 1.3.0RC3