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