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 ) ), 'http://www.pmbservices.fr/ontology#has_linked_authority' => array( 'type' => 'linked_authority', 'table' => 'aut_link', 'reference_field_name' => 'aut_link_from_num', 'external_field_name' => 'CONCAT(aut_link_to,"_",aut_link_to_num)', 'other_fields' => array( 'aut_link_from' => $this->aut_table_constant, ), 'abstract_entity' => '1' ), )); return $this->linked_entities; } }