mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 22:13:13 +00:00
V 3.5 RC 1
This commit is contained in:
57
lib/classes/searchEngine/adapter/interface.class.php
Normal file
57
lib/classes/searchEngine/adapter/interface.class.php
Normal file
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Phraseanet
|
||||
*
|
||||
* (c) 2005-2010 Alchemy
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @package searchEngine
|
||||
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
||||
* @link www.phraseanet.com
|
||||
*/
|
||||
interface searchEngine_adapter_interface
|
||||
{
|
||||
public function __construct();
|
||||
|
||||
public function set_options(searchEngine_options $options);
|
||||
|
||||
public function reset_cache();
|
||||
|
||||
public function get_time();
|
||||
|
||||
public function get_total_pages();
|
||||
|
||||
public function get_offset_start();
|
||||
|
||||
public function get_current_page();
|
||||
|
||||
public function get_per_page();
|
||||
|
||||
public function get_total_results();
|
||||
|
||||
public function get_available_results();
|
||||
|
||||
public function get_propositions();
|
||||
|
||||
public function get_parsed_query();
|
||||
|
||||
public function get_suggestions(Session_Handler $session);
|
||||
|
||||
public function get_error();
|
||||
|
||||
public function get_warning();
|
||||
|
||||
public function get_current_indexes();
|
||||
|
||||
public function get_status();
|
||||
|
||||
public function results($query, $page, $perPage);
|
||||
|
||||
public function build_excerpt($query, array $fields, record_adapter $record);
|
||||
}
|
Reference in New Issue
Block a user