server/src/app/Models/Document.php
changeset 111 af85c436048f
parent 28 b0b56e0f8c7f
child 115 34ffc04cef62
equal deleted inserted replaced
110:8e5fcebb9018 111:af85c436048f
   174             $this->mediaArray = [];
   174             $this->mediaArray = [];
   175 
   175 
   176             $master = $this->get('<http://www.europeana.eu/schemas/edm/isShownBy>');
   176             $master = $this->get('<http://www.europeana.eu/schemas/edm/isShownBy>');
   177             $masterUrl = is_null($master)?null:$master->getUri();
   177             $masterUrl = is_null($master)?null:$master->getUri();
   178 
   178 
   179             foreach($this->graph->allOfType("<http://www.europeana.eu/schemas/edm/WebResources>") as $webResource) {
   179             foreach($this->graph->allOfType("<http://www.europeana.eu/schemas/edm/WebResource>") as $webResource) {
   180                 $extent = $webResource->getLiteral("<http://purl.org/dc/terms/extent>");
   180                 $extent = $webResource->getLiteral("<http://purl.org/dc/terms/extent>");
   181                 $extent = is_null($extent)?null:$extent->getValue();
   181                 $extent = is_null($extent)?null:$extent->getValue();
   182                 $extent_ms = Utils::iso8601IntervalToMillis($extent);
   182                 $extent_ms = Utils::iso8601IntervalToMillis($extent);
   183                 $format = $webResource->getLiteral("dc11:format");
   183                 $format = $webResource->getLiteral("dc11:format");
   184 
   184