|
@@ 423-430 (lines=8) @@
|
| 420 |
|
return $data; |
| 421 |
|
} |
| 422 |
|
|
| 423 |
|
if ($class) { |
| 424 |
|
/** @noinspection PhpAssignmentInConditionInspection */ |
| 425 |
|
while ($row = \mysqli_fetch_object($this->_result, $class)) { |
| 426 |
|
$data[] = $this->cast($row); |
| 427 |
|
} |
| 428 |
|
|
| 429 |
|
return $data; |
| 430 |
|
} |
| 431 |
|
|
| 432 |
|
/** @noinspection PhpAssignmentInConditionInspection */ |
| 433 |
|
while ($row = \mysqli_fetch_object($this->_result)) { |
|
@@ 629-633 (lines=5) @@
|
| 626 |
|
return $class; |
| 627 |
|
} |
| 628 |
|
|
| 629 |
|
if ($class && $params) { |
| 630 |
|
$row = \mysqli_fetch_object($this->_result, $class, $params); |
| 631 |
|
|
| 632 |
|
return $row ? $this->cast($row) : false; |
| 633 |
|
} |
| 634 |
|
|
| 635 |
|
if ($class) { |
| 636 |
|
$row = \mysqli_fetch_object($this->_result, $class); |
|
@@ 635-639 (lines=5) @@
|
| 632 |
|
return $row ? $this->cast($row) : false; |
| 633 |
|
} |
| 634 |
|
|
| 635 |
|
if ($class) { |
| 636 |
|
$row = \mysqli_fetch_object($this->_result, $class); |
| 637 |
|
|
| 638 |
|
return $row ? $this->cast($row) : false; |
| 639 |
|
} |
| 640 |
|
|
| 641 |
|
$row = \mysqli_fetch_object($this->_result); |
| 642 |
|
|