application/modules/core/models/Base/RouteQuery.php 1 location
|
@@ 220-229 (lines=10) @@
|
217 |
|
* |
218 |
|
* @return ChildRoute|array|mixed the result, formatted by the current formatter |
219 |
|
*/ |
220 |
|
protected function findPkComplex($key, ConnectionInterface $con) |
221 |
|
{ |
222 |
|
// As the query uses a PK condition, no limit(1) is necessary. |
223 |
|
$criteria = $this->isKeepQuery() ? clone $this : $this; |
224 |
|
$dataFetcher = $criteria |
225 |
|
->filterByPrimaryKey($key) |
226 |
|
->doSelect($con); |
227 |
|
|
228 |
|
return $criteria->getFormatter()->init($criteria)->formatOne($dataFetcher); |
229 |
|
} |
230 |
|
|
231 |
|
/** |
232 |
|
* Find objects by primary key |
application/modules/xbanners/models/Base/BannerImageI18nQuery.php 1 location
|
@@ 212-221 (lines=10) @@
|
209 |
|
* |
210 |
|
* @return ChildBannerImageI18n|array|mixed the result, formatted by the current formatter |
211 |
|
*/ |
212 |
|
protected function findPkComplex($key, ConnectionInterface $con) |
213 |
|
{ |
214 |
|
// As the query uses a PK condition, no limit(1) is necessary. |
215 |
|
$criteria = $this->isKeepQuery() ? clone $this : $this; |
216 |
|
$dataFetcher = $criteria |
217 |
|
->filterByPrimaryKey($key) |
218 |
|
->doSelect($con); |
219 |
|
|
220 |
|
return $criteria->getFormatter()->init($criteria)->formatOne($dataFetcher); |
221 |
|
} |
222 |
|
|
223 |
|
/** |
224 |
|
* Find objects by primary key |
application/modules/xbanners/models/Base/BannerImageQuery.php 1 location
|
@@ 243-252 (lines=10) @@
|
240 |
|
* |
241 |
|
* @return ChildBannerImage|array|mixed the result, formatted by the current formatter |
242 |
|
*/ |
243 |
|
protected function findPkComplex($key, ConnectionInterface $con) |
244 |
|
{ |
245 |
|
// As the query uses a PK condition, no limit(1) is necessary. |
246 |
|
$criteria = $this->isKeepQuery() ? clone $this : $this; |
247 |
|
$dataFetcher = $criteria |
248 |
|
->filterByPrimaryKey($key) |
249 |
|
->doSelect($con); |
250 |
|
|
251 |
|
return $criteria->getFormatter()->init($criteria)->formatOne($dataFetcher); |
252 |
|
} |
253 |
|
|
254 |
|
/** |
255 |
|
* Find objects by primary key |
application/modules/xbanners/models/Base/BannersI18nQuery.php 1 location
|
@@ 197-206 (lines=10) @@
|
194 |
|
* |
195 |
|
* @return ChildBannersI18n|array|mixed the result, formatted by the current formatter |
196 |
|
*/ |
197 |
|
protected function findPkComplex($key, ConnectionInterface $con) |
198 |
|
{ |
199 |
|
// As the query uses a PK condition, no limit(1) is necessary. |
200 |
|
$criteria = $this->isKeepQuery() ? clone $this : $this; |
201 |
|
$dataFetcher = $criteria |
202 |
|
->filterByPrimaryKey($key) |
203 |
|
->doSelect($con); |
204 |
|
|
205 |
|
return $criteria->getFormatter()->init($criteria)->formatOne($dataFetcher); |
206 |
|
} |
207 |
|
|
208 |
|
/** |
209 |
|
* Find objects by primary key |
application/modules/xbanners/models/Base/BannersQuery.php 1 location
|
@@ 224-233 (lines=10) @@
|
221 |
|
* |
222 |
|
* @return ChildBanners|array|mixed the result, formatted by the current formatter |
223 |
|
*/ |
224 |
|
protected function findPkComplex($key, ConnectionInterface $con) |
225 |
|
{ |
226 |
|
// As the query uses a PK condition, no limit(1) is necessary. |
227 |
|
$criteria = $this->isKeepQuery() ? clone $this : $this; |
228 |
|
$dataFetcher = $criteria |
229 |
|
->filterByPrimaryKey($key) |
230 |
|
->doSelect($con); |
231 |
|
|
232 |
|
return $criteria->getFormatter()->init($criteria)->formatOne($dataFetcher); |
233 |
|
} |
234 |
|
|
235 |
|
/** |
236 |
|
* Find objects by primary key |