You are here

public function MigrateSourceXML::__toString in Migrate 6.2

Same name and namespace in other branches
  1. 7.2 plugins/sources/xml.inc \MigrateSourceXML::__toString()

Return a string representing the source query.

Return value

string

File

plugins/sources/xml.inc, line 918
Support for migration from XML sources.

Class

MigrateSourceXML
Implementation of MigrateSource, to handle imports from XML files.

Code

public function __toString() {

  // Clump the urls into a string
  // This could cause a problem when using a lot of urls, may need to hash
  $urls = implode(', ', $this->sourceUrls);
  return 'urls = ' . $urls . ' | item xpath = ' . $this->elementQuery . ' | item ID xpath = ' . $this->idQuery;
}