@@ 457-459 (lines=3) @@ | ||
454 | $this->limit = array($globalMatches['limit_start'][0], $globalMatches['limit_end'][0]); |
|
455 | } |
|
456 | // Получим групировку запроса |
|
457 | if (isset($globalMatches['group'])) { |
|
458 | $this->group = explode('_and_', $globalMatches['group'][0]); |
|
459 | } |
|
460 | // Получим имена таблиц для "объединения" в запросе |
|
461 | if (isset($globalMatches['join'])) { |
|
462 | foreach (explode('_and_', $globalMatches['join'][0]) as $join) { |
|
@@ 461-465 (lines=5) @@ | ||
458 | $this->group = explode('_and_', $globalMatches['group'][0]); |
|
459 | } |
|
460 | // Получим имена таблиц для "объединения" в запросе |
|
461 | if (isset($globalMatches['join'])) { |
|
462 | foreach (explode('_and_', $globalMatches['join'][0]) as $join) { |
|
463 | $this->join($join); |
|
464 | } |
|
465 | } |
|
466 | } |
|
467 | ||
468 | // Вернем полученный объект-запрос |