Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
join.php
1<?php
10
12
18class 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}