File: solrutils_001_digestxmlresponse.php

package info (click to toggle)
php-solr 2.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,620 kB
  • sloc: ansic: 14,274; xml: 1,313; php: 1,239; pascal: 11; makefile: 3
file content (11 lines) | stat: -rw-r--r-- 217 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
<?php

include "bootstrap.php";

$response = file_get_contents(DOCUMENT_RESPONSE_XML_2);

$object = SolrUtils::digestXmlResponse($response);

$dotted_property = $object["dotted.property"];

print_r($dotted_property);