application/modules/xbanners/models/Base/BannerImageI18nQuery.php 1 location
|
@@ 233-245 (lines=13) @@
|
| 230 |
|
* |
| 231 |
|
* @return ObjectCollection|array|mixed the list of results, formatted by the current formatter |
| 232 |
|
*/ |
| 233 |
|
public function findPks($keys, ConnectionInterface $con = null) |
| 234 |
|
{ |
| 235 |
|
if (null === $con) { |
| 236 |
|
$con = Propel::getServiceContainer()->getReadConnection($this->getDbName()); |
| 237 |
|
} |
| 238 |
|
$this->basePreSelect($con); |
| 239 |
|
$criteria = $this->isKeepQuery() ? clone $this : $this; |
| 240 |
|
$dataFetcher = $criteria |
| 241 |
|
->filterByPrimaryKeys($keys) |
| 242 |
|
->doSelect($con); |
| 243 |
|
|
| 244 |
|
return $criteria->getFormatter()->init($criteria)->format($dataFetcher); |
| 245 |
|
} |
| 246 |
|
|
| 247 |
|
/** |
| 248 |
|
* Filter the query by primary key |
application/modules/xbanners/models/Base/BannerImageQuery.php 1 location
|
@@ 264-276 (lines=13) @@
|
| 261 |
|
* |
| 262 |
|
* @return ObjectCollection|array|mixed the list of results, formatted by the current formatter |
| 263 |
|
*/ |
| 264 |
|
public function findPks($keys, ConnectionInterface $con = null) |
| 265 |
|
{ |
| 266 |
|
if (null === $con) { |
| 267 |
|
$con = Propel::getServiceContainer()->getReadConnection($this->getDbName()); |
| 268 |
|
} |
| 269 |
|
$this->basePreSelect($con); |
| 270 |
|
$criteria = $this->isKeepQuery() ? clone $this : $this; |
| 271 |
|
$dataFetcher = $criteria |
| 272 |
|
->filterByPrimaryKeys($keys) |
| 273 |
|
->doSelect($con); |
| 274 |
|
|
| 275 |
|
return $criteria->getFormatter()->init($criteria)->format($dataFetcher); |
| 276 |
|
} |
| 277 |
|
|
| 278 |
|
/** |
| 279 |
|
* Filter the query by primary key |
application/modules/xbanners/models/Base/BannersI18nQuery.php 1 location
|
@@ 218-230 (lines=13) @@
|
| 215 |
|
* |
| 216 |
|
* @return ObjectCollection|array|mixed the list of results, formatted by the current formatter |
| 217 |
|
*/ |
| 218 |
|
public function findPks($keys, ConnectionInterface $con = null) |
| 219 |
|
{ |
| 220 |
|
if (null === $con) { |
| 221 |
|
$con = Propel::getServiceContainer()->getReadConnection($this->getDbName()); |
| 222 |
|
} |
| 223 |
|
$this->basePreSelect($con); |
| 224 |
|
$criteria = $this->isKeepQuery() ? clone $this : $this; |
| 225 |
|
$dataFetcher = $criteria |
| 226 |
|
->filterByPrimaryKeys($keys) |
| 227 |
|
->doSelect($con); |
| 228 |
|
|
| 229 |
|
return $criteria->getFormatter()->init($criteria)->format($dataFetcher); |
| 230 |
|
} |
| 231 |
|
|
| 232 |
|
/** |
| 233 |
|
* Filter the query by primary key |
application/modules/xbanners/models/Base/BannersQuery.php 1 location
|
@@ 245-257 (lines=13) @@
|
| 242 |
|
* |
| 243 |
|
* @return ObjectCollection|array|mixed the list of results, formatted by the current formatter |
| 244 |
|
*/ |
| 245 |
|
public function findPks($keys, ConnectionInterface $con = null) |
| 246 |
|
{ |
| 247 |
|
if (null === $con) { |
| 248 |
|
$con = Propel::getServiceContainer()->getReadConnection($this->getDbName()); |
| 249 |
|
} |
| 250 |
|
$this->basePreSelect($con); |
| 251 |
|
$criteria = $this->isKeepQuery() ? clone $this : $this; |
| 252 |
|
$dataFetcher = $criteria |
| 253 |
|
->filterByPrimaryKeys($keys) |
| 254 |
|
->doSelect($con); |
| 255 |
|
|
| 256 |
|
return $criteria->getFormatter()->init($criteria)->format($dataFetcher); |
| 257 |
|
} |
| 258 |
|
|
| 259 |
|
/** |
| 260 |
|
* Filter the query by primary key |