type = AUT_TABLE_INDEXINT; $this->default_index = "indexint"; parent::__construct(); $this->filters = ['multi' => ['status', 'num_pclass']]; $this->setChampBaseFilepath($include_path."/indexation/authorities/indexint/champs_base.xml"); } protected function addSpecificsFilters($id, $filters =array()){ $filters = parent::addSpecificsFilters($id, $filters); //Récupération du statut $query = "select num_pclass, num_statut from indexint join authorities on indexint_id = 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_pclass'] = $row->num_pclass; $filters['multi']['status'] = $row->num_statut; return $filters; } }