Bitrix-D7  20.0.0
fieldtypemask.php
См. документацию.
1 <?php
2 /**
3  * Bitrix Framework
4  * @package bitrix
5  * @subpackage main
6  * @copyright 2001-2018 Bitrix
7  */
8 
9 namespace Bitrix\Main\ORM\Fields;
10 
11 /**
12  * @package bitrix
13  * @subpackage main
14  */
15 abstract class FieldTypeMask
16 {
17  const SCALAR = 1;
18  const EXPRESSION = 2;
19  const USERTYPE = 4;
20  const REFERENCE = 8;
21  const ONE_TO_MANY = 16;
22  const MANY_TO_MANY = 32;
23 
24  const FLAT = 1|2;
25  const RELATION = 8|16|32;
26 
27  const ALL = 63;
28 }
Bitrix\Main\ORM\Fields
Definition: arrayfield.php:9
Bitrix\Main\ORM\Fields\FieldTypeMask\ALL
const ALL
Definition: fieldtypemask.php:27
Bitrix\Main\ORM\Fields\FieldTypeMask\FLAT
const FLAT
Definition: fieldtypemask.php:24
Bitrix\Main\ORM\Fields\FieldTypeMask\ONE_TO_MANY
const ONE_TO_MANY
Definition: fieldtypemask.php:21
Bitrix\Main\ORM\Fields\FieldTypeMask\RELATION
const RELATION
Definition: fieldtypemask.php:25
Bitrix\Main\ORM\Fields\FieldTypeMask\EXPRESSION
const EXPRESSION
Definition: fieldtypemask.php:18
Bitrix\Main\ORM\Fields\FieldTypeMask\REFERENCE
const REFERENCE
Definition: fieldtypemask.php:20
Bitrix\Main\ORM\Fields\FieldTypeMask\USERTYPE
const USERTYPE
Definition: fieldtypemask.php:19
Bitrix\Main\ORM\Fields\FieldTypeMask
Definition: fieldtypemask.php:15
Bitrix\Main\ORM\Fields\FieldTypeMask\SCALAR
const SCALAR
Definition: fieldtypemask.php:17
Bitrix\Main\ORM\Fields\FieldTypeMask\MANY_TO_MANY
const MANY_TO_MANY
Definition: fieldtypemask.php:22