1 | <?php |
||
8 | class ResultSetAdapter implements \Foolz\SphinxQL\Drivers\ResultSetAdapterInterface |
||
9 | { |
||
10 | /** |
||
11 | * @var null|PDOStatement |
||
12 | */ |
||
13 | protected $statement = null; |
||
14 | |||
15 | /** |
||
16 | * @var bool |
||
17 | */ |
||
18 | protected $valid = true; |
||
19 | |||
20 | public function __construct(PDOStatement $statement) |
||
24 | |||
25 | /** |
||
26 | * @return int |
||
27 | */ |
||
28 | public function getAffectedRows() |
||
32 | |||
33 | /** |
||
34 | * @return int |
||
35 | */ |
||
36 | public function getNumRows() |
||
40 | |||
41 | /** |
||
42 | * @return array |
||
43 | */ |
||
44 | public function getFields() |
||
54 | |||
55 | /** |
||
56 | * @return bool |
||
57 | */ |
||
58 | public function isDml() |
||
62 | |||
63 | /** |
||
64 | * @return array |
||
65 | */ |
||
66 | public function store() |
||
70 | |||
71 | /** |
||
72 | * @param $num |
||
73 | */ |
||
74 | public function toRow($num) |
||
78 | |||
79 | public function freeResult() |
||
83 | |||
84 | public function rewind() |
||
88 | |||
89 | /** |
||
90 | * @return bool |
||
91 | */ |
||
92 | public function valid() |
||
96 | |||
97 | /** |
||
98 | * @param self::FETCH_ASSOC|self::FETCH_NUM $fetch_type |
||
|
|||
99 | * @return array|null |
||
100 | */ |
||
101 | public function fetch($fetch_type) |
||
116 | |||
117 | /** |
||
118 | * @param self::FETCH_ASSOC|self::FETCH_NUM $fetch_type |
||
119 | * @return array |
||
120 | */ |
||
121 | public function fetchAll($fetch_type) |
||
135 | } |
||
136 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.