map_fields = array_merge(parent::init_map_fields(), array( 'niveau_biblio' => 'http://www.pmbservices.fr/ontology#bibliographical_lvl' , 'explnum_vignette' => 'http://www.pmbservices.fr/ontology#thumbnail', 'explnum_nom' => 'http://www.pmbservices.fr/ontology#label', 'explnum_docnum_statut' => 'http://www.pmbservices.fr/ontology#has_docnum_status', 'explnum_repertoire' => 'http://www.pmbservices.fr/ontology#upload_directory', 'explnum_nomfichier' => 'http://www.pmbservices.fr/ontology#docnum_file' )); return $this->map_fields; } protected function init_foreign_fields() { $this->foreign_fields = array_merge(parent::init_foreign_fields(), array( 'explnum_notice' => array( 'type' => 'record', 'property' => 'http://www.pmbservices.fr/ontology#has_record', ), )); 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( 'table' => 'index_concept', 'reference_field_name' => 'num_object', 'external_field_name' => 'num_concept', 'other_fields' => array( 'type_object' => TYPE_EXPLNUM ) ), 'http://www.pmbservices.fr/ontology#location' => array( 'table' => 'explnum_location', 'reference_field_name' => 'num_explnum', 'external_field_name' => 'num_location' ), 'http://www.pmbservices.fr/ontology#owner' => array( 'table' => 'explnum_lenders', 'reference_field_name' => 'explnum_lender_num_explnum', 'external_field_name' => 'explnum_lender_num_lender' ) )); return $this->linked_entities; } protected function init_special_fields() { $this->special_fields = array_merge(parent::init_special_fields(), array()); return $this->special_fields; } }