original_string: public function to_xml() {
          $this->validate();
          foreach ($this->entries as $entry) {
              $entry->id = 'portfolio:' . $entry->id;
              $this->feed->appendChild($entry->to_dom($this->dom, $this->user));
          }
          return $this->dom->saveXML();
      }
code: public function to_xml() {
          $this->validate();
          foreach ($this->entries as $entry) {
              $entry->id = 'portfolio:' . $entry->id;
              $this->feed->appendChild($entry->to_dom($this->dom, $this->user));
          }
          return $this->dom->saveXML();
      }
code_tokens: public function to_xml ( ) { $ this -> validate ( ) ; foreach ( $ this -> entries as $ entry ) { $ entry -> id = 'portfolio:' . $ entry -> id ; $ this -> feed -> appendChild ( $ entry -> to_dom ( $ this -> dom , $ this -> user ) ) ; } return $ this -> dom -> saveXML ( ) ; }
docstring: Return the entire feed as a string.
  Then, it calls for validation
  
  @return string feeds' content in xml
docstring_tokens: Return the entire feed as a string . Then it calls for validation