authperso_id = $authperso_id+0; } protected function get_hidden_search_form_name() { $form_name = ''; $form_name .= "search_authperso_".$this->authperso_id; return $form_name; } public function get_query() { $query = parent::get_query(); $query .= " and authperso_authority_authperso_num = ".$this->authperso_id; return $query; } protected function get_mode() { return "authperso_".$this->authperso_id; } protected function get_session_key() { return "authperso_".$this->authperso_id; } protected function add_in_session() { parent::add_in_session(); $_SESSION["level1"]["authperso_".$this->authperso_id]["name"] = authpersos::get_name($this->authperso_id); } public function proceed() { global $msg, $charset; if($this->get_nb_results()) { print "
type."_".$this->authperso_id."\" name=\"".$this->type."_".$this->authperso_id."\">"; print "".htmlentities(authpersos::get_name($this->authperso_id), ENT_QUOTES, $charset)." "; print $this->get_display_link_result(); print $this->get_hidden_search_form(); print "
"; } } /** * Enregistrement des stats */ protected function search_log($count) { global $nb_results_tab; global $mode; $nb_results_tab[$mode] = $count; } protected function get_searcher_instance() { $searcher = searcher_factory::get_searcher($this->type, '', $this->user_query, $this->authperso_id); return $searcher; } } ?>