equal
deleted
inserted
replaced
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) { |