server/src/app/Libraries/Mappers/CocoonTextRdfMapper.php
changeset 504 4ab820b387da
parent 125 e550b10fe3ca
child 505 9175ea22f1b1
equal deleted inserted replaced
503:bd2701bd8142 504:4ab820b387da
   147     //     if((!$value instanceof Resource) || $value->getUri() !== "http://purl.org/dc/dcmitype/Text") {
   147     //     if((!$value instanceof Resource) || $value->getUri() !== "http://purl.org/dc/dcmitype/Text") {
   148     //         $providedCHOResource->add($prop, $value);
   148     //         $providedCHOResource->add($prop, $value);
   149     //     }
   149     //     }
   150     // }
   150     // }
   151 
   151 
       
   152     /**
       
   153      * Map date properties to providedCHO.
       
   154      * In the case of a Text, we do nothing as the information must come from the Sound.
       
   155      */
       
   156     protected function addProvidedCHODateProperties($targetRes, $res, $outputGraph) {
       
   157     }
       
   158 
   152     protected function mapWebResources($res, $outputGraph) {
   159     protected function mapWebResources($res, $outputGraph) {
   153         $resId = CocoonUtils::getIdFromUri($this->getResourceBaseId($res));
   160         $resId = CocoonUtils::getIdFromUri($this->getResourceBaseId($res));
   154         $resUri = CocoonUtils::getCorpusUriFromId($resId);
   161         $resUri = CocoonUtils::getCorpusUriFromId($resId);
   155 
   162 
   156 
   163