BuildDepth.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\persistence;
12 
13 /**
14  * BuildDepth values are used to define the depth when loading
15  * object trees.
16  *
17  * @author ingo herwig <ingo@wemove.com>
18  */
19 class BuildDepth {
20 
21  const INFINITE = -1; // build complete tree from given root on
22  const SINGLE = -2; // build only given object
23  const REQUIRED = -4; // build tree from given root on respecting the required property defined in element relations
24  const PROXIES_ONLY = -8; // build only proxies
25  const MAX = 10; // maximum possible creation depth in one call
26 }
27 ?>
Persistence layer related interfaces and classes.
Definition: namespaces.php:42
BuildDepth values are used to define the depth when loading object trees.
Definition: BuildDepth.php:19