original_string: public function getFormVersion()
      {
          if (empty($this->formVersion)) {
              foreach ($this->_xml->children('h', true)->head->children()->model->instance->children() as $element) {
                  if (!empty($element->attributes()->version)) {
                      $this->formVersion = $element->attributes()->version;
                      break;
                  }
              }
          }
  
          return $this->formVersion;
  
      }
code: public function getFormVersion()
      {
          if (empty($this->formVersion)) {
              foreach ($this->_xml->children('h', true)->head->children()->model->instance->children() as $element) {
                  if (!empty($element->attributes()->version)) {
                      $this->formVersion = $element->attributes()->version;
                      break;
                  }
              }
          }
  
          return $this->formVersion;
  
      }
code_tokens: public function getFormVersion ( ) { if ( empty ( $ this -> formVersion ) ) { foreach ( $ this -> _xml -> children ( 'h' , true ) -> head -> children ( ) -> model -> instance -> children ( ) as $ element ) { if ( ! empty ( $ element -> attributes ( ) -> version ) ) { $ this -> formVersion = $ element -> attributes ( ) -> version ; break ; } } } return $ this -> formVersion ; }
docstring: Returns the formVersion from the instance element version attribute
  
  @return string
docstring_tokens: Returns the formVersion from the instance element version attribute