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