forked from propelorm/Propel2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_attributes.php.twig
39 lines (33 loc) · 935 Bytes
/
_attributes.php.twig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/**
* Queries to be executed in the save transaction
* @var array
*/
protected nestedSetQueries = array();
/**
* Internal cache for children nodes
* @var null|ObjectCollection
*/
protected collNestedSetChildren = null;
/**
* Internal cache for parent node
* @var null|{{ builder.objectClassName }}
*/
protected aNestedSetParent = null;
/**
* Left column for the set
*/
const LEFT_COL = '{{ builder.table.name }}.{{ behavior.columnConstant('left_column') }}';
/**
* Right column for the set
*/
const RIGHT_COL = '{{ builder.table.name }}.{{ behavior.columnConstant('right_column') }}';
/**
* Level column for the set
*/
const LEVEL_COL = '{{ builder.table.name }}.{{ behavior.columnConstant('level_column') }}';
{% if behavior.useScope %}
/**
* Scope column for the set
*/
const SCOPE_COL = '{{ builder.table.name }}.{{ behavior.columnConstant('scope_column') }}';
{% endif %}