server/src/app/Libraries/Mappers/CocoonAbstractRdfMapper.php
changeset 504 4ab820b387da
parent 145 49b75287c30b
equal deleted inserted replaced
503:bd2701bd8142 504:4ab820b387da
   133                 call_user_func(array($this, $mappingMethod), $targetRes, $prop, $value);
   133                 call_user_func(array($this, $mappingMethod), $targetRes, $prop, $value);
   134             }
   134             }
   135         }
   135         }
   136     }
   136     }
   137 
   137 
       
   138     /**
       
   139      * Add a date properties to a resource (providedCHO, WebResource,...)
       
   140      */
   138     protected function addDateProperties($targetRes, $res, $outputGraph) {
   141     protected function addDateProperties($targetRes, $res, $outputGraph) {
   139         $this->applyPropertiesToRes($res, $targetRes, [
   142         $this->applyPropertiesToRes($res, $targetRes, [
   140             ['http://purl.org/dc/terms/available', null],
   143             ['http://purl.org/dc/terms/available', null],
   141             ['http://purl.org/dc/terms/created', null],
   144             ['http://purl.org/dc/terms/created', null],
   142             ['http://purl.org/dc/terms/issued', null],
   145             ['http://purl.org/dc/terms/issued', null],