Documentation is available at WCancelButton.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: WCancelButton.class.php,v 1.8 2007/09/19 14:04:51 adamfranco Exp $
- */
- require_once(POLYPHONY."/main/library/Wizard/Components/WEventButton.class.php");
- /**
- * This adds a cancel button to a wizard. It will automatically trigger the Wizard's cancel
- * 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: WCancelButton.class.php,v 1.8 2007/09/19 14:04:51 adamfranco Exp $
- */
- class WCancelButton extends WEventButton {
- function WCancelButton($label=null) {
- if(is_null($label)){
- $label = dgettext("polyphony", "Cancel");
- }
- $this->setEventAndLabel("edu.middlebury.polyphony.wizard.cancel", $label);
- $this->addOnClick("ignoreValidation(this.form);");
- }
- }
- ?>
Documentation generated on Wed, 19 Sep 2007 10:27:53 -0400 by phpDocumentor 1.3.0RC3