protected function show_objects_results($table, $has_sort)
 {
     global $dbh;
     global $search;
     global $nb_per_page_search;
     global $page;
     $start_page = $nb_per_page_search * $page;
     $nb = 0;
     $query = "select {$table}.*,authorities.num_object,authorities.type_object from " . $table . ",authorities where authorities.id_authority={$table}.id_authority";
     if (count($search) > 1 && !$has_sort) {
         //Tri à appliquer par défaut
     }
     $query .= " limit " . $start_page . "," . $nb_per_page_search;
     $result = pmb_mysql_query($query, $dbh);
     $objects_ids = array();
     while ($row = pmb_mysql_fetch_object($result)) {
         $objects_ids[] = $row->id_authority;
     }
     if (count($objects_ids)) {
         $elements_authorities_list_ui = new elements_authorities_list_ui($objects_ids, count($objects_ids), 1);
         $elements = $elements_authorities_list_ui->get_elements_list();
         print $elements[0];
     }
 }
 public function show_result()
 {
     global $msg, $charset, $dbh;
     global $begin_result_liste;
     global $end_result_liste;
     print $this->make_hidden_form();
     print $this->make_human_query();
     if (count($this->objects_ids)) {
         $elements_authorities_list_ui = new elements_authorities_list_ui($this->objects_ids, $this->search_nb_results, 1);
         $elements = $elements_authorities_list_ui->get_elements_list();
         print $begin_result_liste;
         print $elements[0];
         print $end_result_liste;
         $this->pager();
     }
 }