1 | <?php |
||
28 | class Result extends ResultAbstract |
||
29 | { |
||
30 | /** |
||
31 | * the column names |
||
32 | * |
||
33 | * @var array |
||
34 | * @access protected |
||
35 | */ |
||
36 | protected $cols; |
||
37 | |||
38 | /** |
||
39 | * the column values |
||
40 | * |
||
41 | * @var array |
||
42 | * @access protected |
||
43 | */ |
||
44 | protected $vals; |
||
45 | |||
46 | /** |
||
47 | * @var \mysqli_stmt |
||
48 | * @access protected |
||
49 | */ |
||
50 | protected $statement; |
||
51 | |||
52 | /** |
||
53 | * Invoke to set statement |
||
54 | * |
||
55 | * @param \mysqli_stmt $statement |
||
56 | * @return $this |
||
57 | * @access public |
||
58 | */ |
||
59 | public function __invoke(\mysqli_stmt $statement) |
||
64 | |||
65 | /** |
||
66 | * {@inheritDoc} |
||
67 | */ |
||
68 | public function fieldCount()/*# : int */ |
||
72 | |||
73 | /** |
||
74 | * {@inheritDoc} |
||
75 | */ |
||
76 | public function rowCount()/*# : int */ |
||
80 | |||
81 | /** |
||
82 | * {@inheritDoc} |
||
83 | */ |
||
84 | public function affectedRows()/*# : int */ |
||
88 | |||
89 | /** |
||
90 | * {@inheritDoc} |
||
91 | */ |
||
92 | public function close() |
||
98 | |||
99 | /** |
||
100 | * {@inheritDoc} |
||
101 | */ |
||
102 | protected function realFetchAll()/*# : array */ |
||
106 | |||
107 | /** |
||
108 | * {@inheritDoc} |
||
109 | */ |
||
110 | protected function realFetchRow($rowCount)/*# : array */ |
||
124 | |||
125 | /** |
||
126 | * Get one row of data |
||
127 | * |
||
128 | * @return array|false |
||
129 | * @access protected |
||
130 | */ |
||
131 | protected function getOneRow() |
||
144 | |||
145 | /** |
||
146 | * Bind results |
||
147 | * |
||
148 | * @return bool |
||
149 | * @access protected |
||
150 | */ |
||
151 | protected function bindResult()/*# : bool */ |
||
170 | |||
171 | /** |
||
172 | * Get fields first |
||
173 | * |
||
174 | * @return bool |
||
175 | * @access protected |
||
176 | */ |
||
177 | protected function getFields()/*# : bool */ |
||
194 | } |
||
195 |