Documentation is available at WSaveButton.class.php
- <?php
- /**
- * @since Jul 20, 2005
- * @package polyphony.wizard.components
- *
- * @copyright Copyright © 2005, Middlebury College
- * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License (GPL)
- *
- * @version $Id: WSaveButton.class.php,v 1.5 2007/09/19 14:04:51 adamfranco Exp $
- */
- require_once(POLYPHONY."/main/library/Wizard/Components/WEventButton.class.php");
- /**
- * This adds a save button to a wizard. It will automatically trigger the Wizard's save
- * event
- *
- * @since Jul 20, 2005
- * @package polyphony.wizard.components
- *
- * @copyright Copyright © 2005, Middlebury College
- * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License (GPL)
- *
- * @version $Id: WSaveButton.class.php,v 1.5 2007/09/19 14:04:51 adamfranco Exp $
- */
- class WSaveButton extends WEventButton {
- function WSaveButton() {
- $this->setEventAndLabel("edu.middlebury.polyphony.wizard.save", dgettext("polyphony","Save"));
- }
- /**
- * Virtual constructor for a custom label
- *
- * @param string $label
- * @return object WSaveButton
- * @access public
- * @since 7/27/05
- */
- function withLabel($label) {
- $button = new WSaveButton();
- $button->setLabel($label);
- return $button;
- }
- }
- ?>
Documentation generated on Wed, 19 Sep 2007 10:28:16 -0400 by phpDocumentor 1.3.0RC3