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;

    }
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;

    }
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 ; }
Returns the formVersion from the instance element version attribute

@return string
Returns the formVersion from the instance element version attribute