wCMF 4.1
Guides
Getting started
Architecture
Model
Persistence
Presentation
Configuration
Security
I18n & l10n
Tests
Versions
4.1.x
4.0.x
API
Classes
Hierarchy
Code
Support
home
travis
build
iherwig
wcmf
src
wcmf
lib
model
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
13
use
wcmf\lib\persistence\ObjectComparator
;
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
*/
21
class
NodeComparator
extends
ObjectComparator
{
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
?>
wcmf\lib\model\NodeComparator\ATTRIB_OID
const ATTRIB_OID
Definition:
NodeComparator.php:24
wcmf\lib\model\NodeComparator\SORTTYPE_ASC
const SORTTYPE_ASC
Definition:
NodeComparator.php:22
wcmf\lib\model\NodeComparator\ATTRIB_TYPE
const ATTRIB_TYPE
Definition:
NodeComparator.php:25
wcmf\lib\model\NodeComparator
NodeComparator exists for compatibility reasons only.
Definition:
NodeComparator.php:21
wcmf\lib\model
Node related interfaces and classes.
Definition:
namespaces.php:26
wcmf\lib\model\NodeComparator\SORTTYPE_DESC
const SORTTYPE_DESC
Definition:
NodeComparator.php:23
wcmf\lib\persistence\ObjectComparator
ObjectComparator is used to compare persistent objects by given criterias.
Definition:
ObjectComparator.php:47