map_fields = array_merge(parent::init_map_fields(), array( 'author_date' => 'http://www.pmbservices.fr/ontology#date', 'author_type' => 'http://www.pmbservices.fr/ontology#author_type', 'author_name' => 'http://www.pmbservices.fr/ontology#author_name', 'author_rejete' => 'http://www.pmbservices.fr/ontology#author_first_name', 'author_lieu' => 'http://www.pmbservices.fr/ontology#place', 'author_ville' => 'http://www.pmbservices.fr/ontology#town', 'author_pays' => 'http://www.pmbservices.fr/ontology#country', 'author_subdivision' => 'http://www.pmbservices.fr/ontology#subdivision', 'author_numero' => 'http://www.pmbservices.fr/ontology#number', 'author_web' => 'http://www.pmbservices.fr/ontology#website' )); return $this->map_fields; } protected function init_foreign_fields() { $this->foreign_fields = array_merge(parent::init_foreign_fields(), array( 'author_see' => array( 'type' => 'record', 'property' => 'http://www.pmbservices.fr/ontology#author_see' ), )); return $this->foreign_fields; } // protected function init_linked_entities() { // $this->linked_entities = array_merge(parent::init_linked_entities(), array( // 'http://www.pmbservices.fr/ontology#has_concept' => array( // 'type' => 'concept', // 'table' => 'index_concept', // 'reference_field_name' => 'num_object', // 'external_field_name' => 'num_concept', // 'other_fields' => array( // 'type_object' => $this->type_constant // ) // ) // )); // return $this->linked_entities; // } }