| @@ 338-346 (lines=9) @@ | ||
| 335 | /** |
|
| 336 | * {@inheritdoc} |
|
| 337 | */ |
|
| 338 | public function fetchColumn($columnIndex = 0) |
|
| 339 | { |
|
| 340 | $row = $this->fetch(PDO::FETCH_NUM); |
|
| 341 | if (false === $row) { |
|
| 342 | return false; |
|
| 343 | } |
|
| 344 | ||
| 345 | return isset($row[$columnIndex]) ? $row[$columnIndex] : null; |
|
| 346 | } |
|
| 347 | ||
| 348 | /** |
|
| 349 | * {@inheritdoc} |
|
| @@ 279-288 (lines=10) @@ | ||
| 276 | /** |
|
| 277 | * {@inheritdoc} |
|
| 278 | */ |
|
| 279 | public function fetchColumn($columnIndex = 0) |
|
| 280 | { |
|
| 281 | $row = $this->fetch(\PDO::FETCH_NUM); |
|
| 282 | ||
| 283 | if (false === $row) { |
|
| 284 | return false; |
|
| 285 | } |
|
| 286 | ||
| 287 | return isset($row[$columnIndex]) ? $row[$columnIndex] : null; |
|
| 288 | } |
|
| 289 | ||
| 290 | /** |
|
| 291 | * {@inheritdoc} |
|
| @@ 266-275 (lines=10) @@ | ||
| 263 | /** |
|
| 264 | * {@inheritdoc} |
|
| 265 | */ |
|
| 266 | public function fetchColumn($columnIndex = 0) |
|
| 267 | { |
|
| 268 | $row = $this->fetch(PDO::FETCH_NUM); |
|
| 269 | ||
| 270 | if (false === $row) { |
|
| 271 | return false; |
|
| 272 | } |
|
| 273 | ||
| 274 | return isset($row[$columnIndex]) ? $row[$columnIndex] : null; |
|
| 275 | } |
|
| 276 | ||
| 277 | /** |
|
| 278 | * {@inheritdoc} |
|
| @@ 367-376 (lines=10) @@ | ||
| 364 | /** |
|
| 365 | * {@inheritdoc} |
|
| 366 | */ |
|
| 367 | public function fetchColumn($columnIndex = 0) |
|
| 368 | { |
|
| 369 | $row = $this->fetch(PDO::FETCH_NUM); |
|
| 370 | ||
| 371 | if (false === $row) { |
|
| 372 | return false; |
|
| 373 | } |
|
| 374 | ||
| 375 | return isset($row[$columnIndex]) ? $row[$columnIndex] : null; |
|
| 376 | } |
|
| 377 | ||
| 378 | /** |
|
| 379 | * {@inheritdoc} |
|