original_string: public function doRefresh(){
  		//Validating elements.  Should be already done but let's say on the safe side
  		$this->form->validateElements();
  		
  		//If valid apply values to the accordion
  		if($this->form->isValid()){
  			foreach($this->form->getElements() as $element){
  				$this->tabs->addParams($element->getName(), $element->getVal());
  			}
  		}
  	}
code: public function doRefresh(){
  		//Validating elements.  Should be already done but let's say on the safe side
  		$this->form->validateElements();
  		
  		//If valid apply values to the accordion
  		if($this->form->isValid()){
  			foreach($this->form->getElements() as $element){
  				$this->tabs->addParams($element->getName(), $element->getVal());
  			}
  		}
  	}
code_tokens: public function doRefresh ( ) { //Validating elements.  Should be already done but let's say on the safe side $ this -> form -> validateElements ( ) ; //If valid apply values to the accordion if ( $ this -> form -> isValid ( ) ) { foreach ( $ this -> form -> getElements ( ) as $ element ) { $ this -> tabs -> addParams ( $ element -> getName ( ) , $ element -> getVal ( ) ) ; } } }
docstring: If form returned an action
docstring_tokens: If form returned an action