AtomParser::__construct() WordPress Method
The AtomParser::__construct() method is used to initialize the AtomParser class. It takes two parameters: an XML string and an options array. The XML string is the feed content to be parsed, and the options array can contain options for how the feed should be parsed.
AtomParser::__construct() #
PHP5 constructor.
Source
File: wp-includes/atomlib.php
function __construct() { $this->feed = new AtomFeed(); $this->current = null; $this->map_attrs_func = array( __CLASS__, 'map_attrs' ); $this->map_xmlns_func = array( __CLASS__, 'map_xmlns' ); }
Expand full source codeCollapse full source codeView on TracView on GitHub