Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
join.php
1
<?php
9
namespace
Bitrix\Main\ORM\Query
;
10
11
use
Bitrix\Main\ORM\Query\Filter\ConditionTree
as Filter;
12
18
class
Join
19
{
20
const
TYPE_INNER
=
'INNER'
;
21
const
TYPE_LEFT
=
'LEFT'
;
22
const
TYPE_LEFT_OUTER
=
'LEFT OUTER'
;
23
const
TYPE_RIGHT
=
'RIGHT'
;
24
const
TYPE_RIGHT_OUTER
=
'RIGHT OUTER'
;
25
34
public
static
function
on
()
35
{
36
$condition = func_get_args();
37
return
call_user_func_array(array(
new
Filter,
'whereColumn'
), $condition);
38
}
39
40
public
static
function
getTypes
()
41
{
42
return
[
43
static::TYPE_INNER,
44
static::TYPE_LEFT,
45
static::TYPE_LEFT_OUTER,
46
static::TYPE_RIGHT,
47
static::TYPE_RIGHT_OUTER,
48
];
49
}
50
}
Bitrix\Main\ORM\Query\Filter\ConditionTree
Definition
conditiontree.php:28
Bitrix\Main\ORM\Query\Join
Definition
join.php:19
Bitrix\Main\ORM\Query\Join\on
static on()
Definition
join.php:34
Bitrix\Main\ORM\Query\Join\TYPE_RIGHT_OUTER
const TYPE_RIGHT_OUTER
Definition
join.php:24
Bitrix\Main\ORM\Query\Join\TYPE_INNER
const TYPE_INNER
Definition
join.php:20
Bitrix\Main\ORM\Query\Join\TYPE_RIGHT
const TYPE_RIGHT
Definition
join.php:23
Bitrix\Main\ORM\Query\Join\getTypes
static getTypes()
Definition
join.php:40
Bitrix\Main\ORM\Query\Join\TYPE_LEFT
const TYPE_LEFT
Definition
join.php:21
Bitrix\Main\ORM\Query\Join\TYPE_LEFT_OUTER
const TYPE_LEFT_OUTER
Definition
join.php:22
Bitrix\Main\ORM\Query
Definition
chain.php:3
modules
main
lib
orm
query
join.php
Создано системой
1.10.0