| @@ 788-800 (lines=13) @@ | ||
| 785 | $columnData = ''; |
|
| 786 | ||
| 787 | $data = $this->fetchAllArrayy()->reverse()->getArray(); |
|
| 788 | foreach ($data as $_row) { |
|
| 789 | ||
| 790 | if ($skipNullValues === true) { |
|
| 791 | if (isset($_row[$column]) === false) { |
|
| 792 | continue; |
|
| 793 | } |
|
| 794 | } elseif (\array_key_exists($column, $_row) === false) { |
|
| 795 | break; |
|
| 796 | } |
|
| 797 | ||
| 798 | $columnData = $_row[$column]; |
|
| 799 | ||
| 800 | break; |
|
| 801 | } |
|
| 802 | ||
| 803 | return $columnData; |
|
| @@ 810-821 (lines=12) @@ | ||
| 807 | ||
| 808 | $columnData = []; |
|
| 809 | ||
| 810 | foreach ($this->fetchAllYield() as $_row) { |
|
| 811 | if ($skipNullValues === true) { |
|
| 812 | if (isset($_row->{$column}) === false) { |
|
| 813 | continue; |
|
| 814 | } |
|
| 815 | } elseif (\array_key_exists($column, $_row) === false) { |
|
| 816 | break; |
|
| 817 | } |
|
| 818 | ||
| 819 | $columnData[] = $_row->{$column}; |
|
| 820 | } |
|
| 821 | ||
| 822 | return $columnData; |
|
| 823 | } |
|
| 824 | ||