server/src/app/Libraries/Mergers/CocoonTextRdfMerger.php
changeset 506 8a5bb4b48b85
parent 504 4ab820b387da
equal deleted inserted replaced
505:9175ea22f1b1 506:8a5bb4b48b85
   107 
   107 
   108         // Must handle created
   108         // Must handle created
   109         $isBaseSound = false;
   109         $isBaseSound = false;
   110         foreach ($baseRes->all("dc11:type","resource") as $resType) {
   110         foreach ($baseRes->all("dc11:type","resource") as $resType) {
   111             $type = $resType->getUri();
   111             $type = $resType->getUri();
   112             if($type === 'http://purl.org/dc/dcmitype/Sound') {
   112             if($type === 'http://purl.org/dc/dcmitype/Sound' || $type === 'http://purl.org/dc/dcmitype/MovingImage') {
   113                 $isBaseSound = true;
   113                 $isBaseSound = true;
   114                 break;
   114                 break;
   115             }
   115             }
   116         }
   116         }
   117         if($isBaseSound) {
   117         if($isBaseSound) {