Source for file StartupRequirement.interface.php

Documentation is available at StartupRequirement.interface.php

  1. <?php
  2. /**
  3. * @package polyphony.startupcheck
  4. *
  5. * @copyright Copyright &copy; 2005, Middlebury College
  6. * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License (GPL)
  7. *
  8. * @version $Id: StartupRequirement.interface.php,v 1.8 2007/09/19 14:04:50 adamfranco Exp $
  9. */
  10.  
  11. /**
  12. * A startup requirement is part of the application install/update system. A requirement class has the ability to check to make sure that
  13. * the environment for running said program is OK, or to make updates to settings, database tables, etc to adjust for changes
  14. * or program updates.
  15. *
  16. * @package polyphony.startupcheck
  17. *
  18. * @copyright Copyright &copy; 2005, Middlebury College
  19. * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License (GPL)
  20. *
  21. * @version $Id: StartupRequirement.interface.php,v 1.8 2007/09/19 14:04:50 adamfranco Exp $
  22. */
  23. class StartupRequirement {
  24.  
  25. /**
  26. * Checks the environment and returns a status value. Return value is one of STARTUP_STATUS_* defines.
  27. * @access public
  28. * @return integer
  29. */
  30. function getStatus()
  31. {
  32. }
  33. /**
  34. * Returns this requirement's display name.
  35. * @access public
  36. * @return string
  37. */
  38. function getDisplayName()
  39. {
  40. }
  41. /**
  42. * Returns a {@link Wizard} object containing fields for user input to complete installation process.
  43. * @access public
  44. * @return ref object
  45. */
  46. function createWizard()
  47. {
  48. }
  49. /**
  50. * 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.
  51. * @param optional array $properties An array of values gotten from the {@link Wizard} as created by {@link StartupRequirement::createWizard()}.
  52. * @access public
  53. * @return int Returns the new status of this requirement after attempting update.
  54. */
  55. function doUpdate( $properties = null )
  56. {
  57. }
  58.  
  59. }
  60.  
  61.  
  62. ?>

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