コード例 #1
0
 /**
  * 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();
     }
 }
コード例 #2
0
 /**
  * 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();
     }
 }
コード例 #3
0
 /**
  * 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();
     }
 }
コード例 #4
0
 /**
  * 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();
     }
 }
コード例 #5
0
 /**
  * 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;
     }
 }