mirror of
https://codeberg.org/icewind/SearchDAV.git
synced 2026-06-03 17:44:06 +02:00
Seperate query classes from xml classes to allow specifying more information in the query
This commit is contained in:
parent
82bcf2cebb
commit
5ad4d24b89
17 changed files with 509 additions and 112 deletions
|
|
@ -21,9 +21,7 @@
|
|||
|
||||
namespace SearchDAV\Backend;
|
||||
|
||||
use Sabre\DAV\INode;
|
||||
use SearchDAV\XML\BasicSearch;
|
||||
use SearchDAV\XML\Scope;
|
||||
use SearchDAV\Query\Query;
|
||||
|
||||
interface ISearchBackend {
|
||||
/**
|
||||
|
|
@ -79,8 +77,8 @@ interface ISearchBackend {
|
|||
* To return the properties requested by the query sabre's existing PropFind method is used, thus the search implementation
|
||||
* is not required to collect these properties and is free to ignore the `select` part of the query
|
||||
*
|
||||
* @param BasicSearch $query
|
||||
* @param Query $query
|
||||
* @return SearchResult[]
|
||||
*/
|
||||
public function search(BasicSearch $query);
|
||||
public function search(Query $query);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue