NodeComparator.php
1 <?php
2 /**
3  * wCMF - wemove Content Management Framework
4  * Copyright (C) 2005-2020 wemove digital solutions GmbH
5  *
6  * Licensed under the terms of the MIT License.
7  *
8  * See the LICENSE file distributed with this work for
9  * additional information.
10  */
11 namespace wcmf\lib\model;
12 
14 
15 /**
16  * NodeComparator exists for compatibility reasons only.
17  * It does not add any functionality to the base class.
18  *
19  * @author ingo herwig <ingo@wemove.com>
20  */
22  const SORTTYPE_ASC = -1; // sort children ascending
23  const SORTTYPE_DESC = -2; // sort children descending
24  const ATTRIB_OID = -3; // sort by oid
25  const ATTRIB_TYPE = -4; // sort by type
26 }
27 ?>
NodeComparator exists for compatibility reasons only.
Node related interfaces and classes.
Definition: namespaces.php:26
ObjectComparator is used to compare persistent objects by given criterias.