Documentation is available at RepositoryInputOutputModule.interface.php
- <?php
- /**
- * @package polyphony.repository.inputoutput
- *
- * @copyright Copyright © 2005, Middlebury College
- * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License (GPL)
- *
- * @version $Id: RepositoryInputOutputModule.interface.php,v 1.5 2007/09/19 14:04:48 adamfranco Exp $
- */
- /**
- * InputOutput modules are classes which generate HTML for the display or editing
- * of Records. Which InputOutput module to use is determined by the Format
- * of the RecordStructure corresponding to that Record. For example, a Structure
- * using the "DataManagerPrimitive" Format would use the DataManagerPrimative
- * InputOutput module for displaying generating forms for editing its data.
- *
- * @package polyphony.repository.inputoutput
- *
- * @copyright Copyright © 2005, Middlebury College
- * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License (GPL)
- *
- * @version $Id: RepositoryInputOutputModule.interface.php,v 1.5 2007/09/19 14:04:48 adamfranco Exp $
- */
- class RepositoryInputOutputModuleInterface {
- /**
- * Create wizard steps for editing the values of the specified Record and
- * add them to the wizard.
- *
- * @param object $record
- * @param object $wizard The wizard to add the steps to.
- * @return void
- * @access public
- * @since 10/19/04
- */
- function createWizardSteps ( $record, $wizard ) {
- die ("Method <b>".__FUNCTION__."()</b> declared in interface <b> ".__CLASS__."</b> has not been overloaded in a child class.");
- }
- /**
- * Create wizard steps for editing the values of the specified Record and
- * add them to the wizard.
- *
- * @param object $record
- * @param object $wizard The wizard to add the steps to.
- * @param array $partStructures An ordered array of the partstructures to include.
- * @return void
- * @access public
- * @since 10/19/04
- */
- function createWizardStepsForPartStructures ( $record, $wizard, $partStructures ) {
- die ("Method <b>".__FUNCTION__."()</b> declared in interface <b> ".__CLASS__."</b> has not been overloaded in a child class.");
- }
- /**
- * Get the values submitted in the wizard and update the Record with them.
- *
- * @param object $record
- * @param object $wizard
- * @return void
- * @access public
- * @since 10/19/04
- */
- function updateFromWizard ( $record, $wizard ) {
- die ("Method <b>".__FUNCTION__."()</b> declared in interface <b> ".__CLASS__."</b> has not been overloaded in a child class.");
- }
- /**
- * Generate HTML for displaying the Record
- *
- * @param object $record
- * @return string
- * @access public
- * @since 10/19/04
- */
- function generateDisplay ( $asset, $record ) {
- die ("Method <b>".__FUNCTION__."()</b> declared in interface <b> ".__CLASS__."</b> has not been overloaded in a child class.");
- }
- /**
- * Generate HTML for displaying particular parts of the Record
- *
- * @param object $record The record to print.
- * @param array $partStructures An array of particular partstructures to print.
- * @return string
- * @access public
- * @since 10/19/04
- */
- function generateDisplayForPartStructures ( $asset, $record, $partStructures ) {
- die ("Method <b>".__FUNCTION__."()</b> declared in interface <b> ".__CLASS__."</b> has not been overloaded in a child class.");
- }
- }
- ?>
Documentation generated on Wed, 19 Sep 2007 10:26:00 -0400 by phpDocumentor 1.3.0RC3