1 | <?php |
||
15 | class DataReader extends \yii\db\DataReader |
||
16 | { |
||
17 | |||
18 | /** |
||
19 | * Advances the reader to the next row in a result set. |
||
20 | * @return array the current row, false if no more row available |
||
21 | */ |
||
22 | 2 | public function read() |
|
31 | |||
32 | /** |
||
33 | * Returns a single column from the next row of a result set. |
||
34 | * @param integer $columnIndex zero-based column index |
||
35 | * @return mixed the column of the current row, false if no more rows available |
||
36 | */ |
||
37 | public function readColumn($columnIndex) |
||
46 | |||
47 | /** |
||
48 | * Returns an object populated with the next row of data. |
||
49 | * @param string $className class name of the object to be created and populated |
||
50 | * @param array $fields Elements of this array are passed to the constructor |
||
51 | * @return mixed the populated object, false if no more row of data available |
||
52 | */ |
||
53 | public function readObject($className, $fields) |
||
62 | } |
||
63 |