authority_type = AUT_TABLE_AUTHPERSO; parent::__construct($user_query); $this->object_table = "authperso_authorities"; $this->object_table_key = "id_authperso_authority"; } public function _get_search_type(){ return parent::_get_search_type()."_authpersos"; } protected function _get_authorities_filters(){ global $id_authperso; $filters = parent::_get_authorities_filters(); if($id_authperso*1){ $filters[] = $this->object_table.'.authperso_authority_authperso_num='.($id_authperso*1); } return $filters; } public function get_authority_tri() { return ' order by authperso_index_infos_global'; } }