mirror of
https://codeberg.org/icewind/SearchDAV.git
synced 2026-06-03 17:44:06 +02:00
add query parser tests
This commit is contained in:
parent
3f23e989f0
commit
5f6b358839
5 changed files with 107 additions and 2 deletions
|
|
@ -42,6 +42,17 @@ class Order implements XmlDeserializable {
|
|||
*/
|
||||
public $order;
|
||||
|
||||
/**
|
||||
* Order constructor.
|
||||
*
|
||||
* @param string $property
|
||||
* @param string $order
|
||||
*/
|
||||
public function __construct($property = '', $order = self::ASC) {
|
||||
$this->property = $property;
|
||||
$this->order = $order;
|
||||
}
|
||||
|
||||
static function xmlDeserialize(Reader $reader) {
|
||||
$order = new self();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue