add_register("rdf_entities_integration", true); if (!isset($msg)) { //Allons chercher les messages include_once($class_path."/XMLlist.class.php"); $messages = new XMLlist($include_path."/messages/".$lang.".xml", 0); $messages->analyser(); $msg = $messages->table; } class pmbesContributions extends external_services_api_class{ public $error=false; //Y-a-t-il eu une erreur public $error_message=""; //Message correspondant à l'erreur public function form_general_config() { return false; } public function integrate_entity($uri) { $config = array( 'store_name' => 'contribution_area_datastore' ); $store = new rdf_entities_store_arc2($config); $rdf_entities_integrator = new rdf_entities_integrator($store); $result = $rdf_entities_integrator->integrate_entity($uri); return encoding_normalize::utf8_normalize($result); } }