/** * 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) { parent::update($fieldName); if ($this->getAllValues()) { $this->_stepContainer->nextStep(); } }
/** * 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) { parent::update($fieldName); if ($this->getAllValues()) { // go back! $this->_stepContainer->goBack(); } }
/** * 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) { parent::update($fieldName); if ($this->getAllValues()) { // advance the step! $this->_stepContainer->previousStep(); } }
/** * 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) { parent::update($fieldName); $wizard = $this->getWizard(); if ($this->getAllValues()) { // go forward! $this->_stepContainer->goForward(); } }
/** * 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) { parent::update($fieldName); $val = RequestContext::value($fieldName); $option = stripslashes(RequestContext::value($fieldName . "_option")); if ($val) { $this->_option = $option; } }