<?php
// +-------------------------------------------------+
//  2002-2004 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
// +-------------------------------------------------+
// $Id: searcher_authorities_publishers.class.php,v 1.5 2018/03/08 16:06:08 apetithomme Exp $

if (stristr($_SERVER['REQUEST_URI'], ".class.php")) die("no access");

require_once($class_path.'/searcher/searcher_autorities.class.php');

class searcher_authorities_publishers extends searcher_autorities {

	public function __construct($user_query){
		$this->authority_type = AUT_TABLE_PUBLISHERS;
		parent::__construct($user_query);
		$this->object_table = "publishers";
		$this->object_table_key = "ed_id";
	}
	
	public function _get_search_type(){
		return parent::_get_search_type()."_publishers";
	}
	
	public function get_authority_tri() {
		return 'index_publisher';
	}

}