@@ 69-81 (lines=13) @@ | ||
66 | ||
67 | private $mode; |
|
68 | ||
69 | public function __construct($magicSql, $magicSqlCount, array $parameters, array $columnDescriptors, $objectStorage, $className, TDBMService $tdbmService, MagicQuery $magicQuery, $mode) |
|
70 | { |
|
71 | $this->magicSql = $magicSql; |
|
72 | $this->magicSqlCount = $magicSqlCount; |
|
73 | $this->objectStorage = $objectStorage; |
|
74 | $this->className = $className; |
|
75 | $this->tdbmService = $tdbmService; |
|
76 | $this->parameters = $parameters; |
|
77 | $this->columnDescriptors = $columnDescriptors; |
|
78 | $this->magicQuery = $magicQuery; |
|
79 | $this->databasePlatform = $this->tdbmService->getConnection()->getDatabasePlatform(); |
|
80 | $this->mode = $mode; |
|
81 | } |
|
82 | ||
83 | protected function executeCountQuery() |
|
84 | { |
@@ 59-71 (lines=13) @@ | ||
56 | ||
57 | private $databasePlatform; |
|
58 | ||
59 | public function __construct($magicSql, array $parameters, $limit, $offset, array $columnDescriptors, $objectStorage, $className, TDBMService $tdbmService, MagicQuery $magicQuery) |
|
60 | { |
|
61 | $this->magicSql = $magicSql; |
|
62 | $this->objectStorage = $objectStorage; |
|
63 | $this->className = $className; |
|
64 | $this->tdbmService = $tdbmService; |
|
65 | $this->parameters = $parameters; |
|
66 | $this->limit = $limit; |
|
67 | $this->offset = $offset; |
|
68 | $this->columnDescriptors = $columnDescriptors; |
|
69 | $this->magicQuery = $magicQuery; |
|
70 | $this->databasePlatform = $this->tdbmService->getConnection()->getDatabasePlatform(); |
|
71 | } |
|
72 | ||
73 | protected function executeQuery() |
|
74 | { |