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
persistence
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
?>
wcmf\lib\persistence
Persistence layer related interfaces and classes.
Definition:
namespaces.php:42
wcmf\lib\persistence\BuildDepth
BuildDepth values are used to define the depth when loading object trees.
Definition:
BuildDepth.php:19
wcmf\lib\persistence\BuildDepth\MAX
const MAX
Definition:
BuildDepth.php:25
wcmf\lib\persistence\BuildDepth\REQUIRED
const REQUIRED
Definition:
BuildDepth.php:23
wcmf\lib\persistence\BuildDepth\PROXIES_ONLY
const PROXIES_ONLY
Definition:
BuildDepth.php:24
wcmf\lib\persistence\BuildDepth\INFINITE
const INFINITE
Definition:
BuildDepth.php:21
wcmf\lib\persistence\BuildDepth\SINGLE
const SINGLE
Definition:
BuildDepth.php:22