mirror of
https://codeberg.org/icewind/SearchDAV.git
synced 2026-06-03 17:44:06 +02:00
initial working version
supports grammar discovery, schema discovery and search
This commit is contained in:
parent
a74bfec383
commit
88db2ae6c1
18 changed files with 1040 additions and 0 deletions
9
tests/test.php
Normal file
9
tests/test.php
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
require_once '../vendor/autoload.php';
|
||||
|
||||
$parser = new \SearchDAV\DAV\QueryParser();
|
||||
|
||||
$body = file_get_contents('./basicquery.xml');
|
||||
|
||||
var_dump($parser->parse($body)['{DAV:}basicsearch']);
|
||||
Loading…
Add table
Add a link
Reference in a new issue