function parse_things_from_rss_dom($dom) { $xp = new DomXpath($dom); $thing_nodes = $xp->query("//item"); foreach ($thing_nodes as $thing_node) { $thing = ThingiverseThing::from_rss_item_dom($thing_node); array_push($this->things, $thing); } }
function parse_things_from_rss_dom($dom) { $xp = new DomXpath($dom); $thing_nodes = $xp->query("//item"); foreach ($thing_nodes as $thing_node) { $thing = ThingiverseThing::from_rss_item_dom($thing_node); array_push($this->things, $thing); } }