Documentation is available at WizardStep.class.php
- <?php
- /**
- * @package polyphony.wizard
- *
- * @copyright Copyright © 2005, Middlebury College
- * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License (GPL)
- *
- * @version $Id: WizardStep.class.php,v 1.5 2007/09/19 14:04:51 adamfranco Exp $
- */
- require_once(POLYPHONY."/main/library/Wizard/WizardComponentWithChildren.abstract.php");
- /**
- * The Wizard class provides a system for registering Wizard properties and
- * associating those properties with the appropriate form elements.
- *
- * @package polyphony.wizard
- *
- * @copyright Copyright © 2005, Middlebury College
- * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License (GPL)
- *
- * @version $Id: WizardStep.class.php,v 1.5 2007/09/19 14:04:51 adamfranco Exp $
- * @author Gabe Schine
- */
- class WizardStep extends WizardComponentWithChildren {
- var $_displayName;
- var $_contentText;
- /**
- * Returns the displayName of this WizardStep
- * @return string
- */
- function getDisplayName () {
- return $this->_displayName;
- }
- /**
- * Sets the display name of this wizard step
- * @param string $displayName
- * @return void
- */
- function setDisplayName($displayName) {
- $this->_displayName = $displayName;
- }
- /**
- * Sets this step's content text. This text will be parsed with {@link Wizard::parseText()}
- * @param string $content;
- * @access public
- * @return void
- */
- function setContent ($content) {
- $this->_contentText = $content;
- }
- /**
- * Answer the step's conent text. Useful for appending new properties to the
- * step
- *
- * @return string
- * @access public
- * @since 5/11/07
- */
- function getContent () {
- return $this->_contentText;
- }
- /**
- * Returns a block of XHTML-valid code that contains markup for this specific
- * component.
- * @param string $fieldName The field name to use when outputting form data or
- * similar parameters/information.
- * @access public
- * @return string
- */
- function getMarkup ($fieldName) {
- return Wizard::parseText($this->_contentText, $this->getChildren(), $fieldName."_");
- }
- }
- ?>
Documentation generated on Wed, 19 Sep 2007 10:28:05 -0400 by phpDocumentor 1.3.0RC3