uri = $uri; $this->credentials = $credentials; } /** * get_snapshots * * @return array * @author Keith Alexander **/ public function get_item_uris() { $parser = ARC2::getRDFXMLParser(); $parser->parse($this->uri); $triples = $parser->getTriples(); $this->errors = $parser->getErrors(); $uris = array(); foreach($triples as $t) { if($t['p']=='http://schemas.talis.com/2006/bigfoot/configuration#snapshot') $uris[]=$t['o']; } return $uris; } /** * get_errors * * @return array * @author Keith Alexander **/ public function get_errors() { return $this->errors; } } ?>