type = AUT_TABLE_CATEG; $this->default_index = "categories"; parent::__construct(); $this->filters = ['multi' => ['status', 'num_thesaurus']]; $this->setChampBaseFilepath($include_path."/indexation/authorities/categories/champs_base.xml"); } protected function addSpecificsFilters($id, $filters =array()){ $filters = parent::addSpecificsFilters($id, $filters); //Récupération du statut $query = "select num_thesaurus, num_statut from noeuds join authorities on id_noeud = num_object and type_object = ".$this->type." where id_authority = ".$id; $result = pmb_mysql_query($query); $row = pmb_mysql_fetch_object($result); $filters['multi']['num_thesaurus'] = $row->num_thesaurus; $filters['multi']['status'] = $row->num_statut; return $filters; } }