|
@@ 476-478 (lines=3) @@
|
| 473 |
|
$this->limit = array($globalMatches['limit_start'][0], $globalMatches['limit_end'][0]); |
| 474 |
|
} |
| 475 |
|
// Получим групировку запроса |
| 476 |
|
if (isset($globalMatches['group'])) { |
| 477 |
|
$this->group = explode('_and_', $globalMatches['group'][0]); |
| 478 |
|
} |
| 479 |
|
// Получим имена таблиц для "объединения" в запросе |
| 480 |
|
if (isset($globalMatches['join'])) { |
| 481 |
|
foreach (explode('_and_', $globalMatches['join'][0]) as $join) { |
|
@@ 480-484 (lines=5) @@
|
| 477 |
|
$this->group = explode('_and_', $globalMatches['group'][0]); |
| 478 |
|
} |
| 479 |
|
// Получим имена таблиц для "объединения" в запросе |
| 480 |
|
if (isset($globalMatches['join'])) { |
| 481 |
|
foreach (explode('_and_', $globalMatches['join'][0]) as $join) { |
| 482 |
|
$this->join($join); |
| 483 |
|
} |
| 484 |
|
} |
| 485 |
|
} |
| 486 |
|
|
| 487 |
|
// Вернем полученный объект-запрос |