Documentation is available at WCallbackButton.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: WCallbackButton.class.php,v 1.2 2007/09/19 14:04:51 adamfranco Exp $
 - */
 - /**
 - * This class simply evaluates its event as a callback function when pressed.
 - *
 - * @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: WCallbackButton.class.php,v 1.2 2007/09/19 14:04:51 adamfranco Exp $
 - */
 - class WCallbackButton
 - extends WEventButton
 - {
 - /**
 - * Tells the wizard component to update itself - this may include getting
 - * form post data or validation - whatever this particular component wants to
 - * do every pageload.
 - * @param string $fieldName The field name to use when outputting form data or
 - * similar parameters/information.
 - * @access public
 - * @return boolean - TRUE if everything is OK
 - */
 - function update ($fieldName) {
 - $val = RequestContext::value($fieldName);
 - if ($val) {
 - return eval($this->_event);
 - }
 - return true;
 - }
 - }
 - ?>
 
Documentation generated on Wed, 19 Sep 2007 10:27:52 -0400 by phpDocumentor 1.3.0RC3