You are here

class WordPressXMLReader in WordPress Migrate 7.2

Hierarchy

Expanded class hierarchy of WordPressXMLReader

File

./wordpress_source.inc, line 12
Common source support for migration from WordPress XML dumps. No longer needed, since Migrate 2.6 has native namespace handling.

View source
class WordPressXMLReader extends MigrateXMLReader {

}

Members

Namesort descending Modifiers Type Description Overrides
MigrateXMLReader::$attributeName protected property If the element query is filtering by an attribute name=value, the name of the attribute in question.
MigrateXMLReader::$attributeValue protected property If the element query is filtering by an attribute name=value, the value of the attribute in question.
MigrateXMLReader::$currentElement protected property Current element object when iterating.
MigrateXMLReader::$currentId protected property Value of the ID for the current element when iterating.
MigrateXMLReader::$currentPath protected property Array representing the path to the current element as we traverse the XML. For example, if in an XML string like '<file><article>...</article></file>' we are positioned within the article element, currentPath will…
MigrateXMLReader::$elementQuery public property Query string used to retrieve the elements from the XML file.
MigrateXMLReader::$elementsToMatch protected property Array of the element names from the query, 0-based from the first (root) element. For example, '//file/article' would be stored as array(0 => 'file', 1 => 'article').
MigrateXMLReader::$idQuery public property Xpath query string used to retrieve the primary key value from each element.
MigrateXMLReader::$prefixedName protected property When matching element names, whether to compare to the namespace-prefixed name, or the local name.
MigrateXMLReader::$reader public property The XMLReader we are encapsulating.
MigrateXMLReader::$url public property URL of the source XML file.
MigrateXMLReader::current public function Implementation of Iterator::current().
MigrateXMLReader::key public function Implementation of Iterator::key().
MigrateXMLReader::next public function Implementation of Iterator::next().
MigrateXMLReader::rewind public function Implementation of Iterator::rewind().
MigrateXMLReader::valid public function Implementation of Iterator::valid().
MigrateXMLReader::__construct public function Prepares our extensions to the XMLReader object.