1 | <?php |
||
7 | class ResultSet extends SimpleResultSet |
||
8 | { |
||
9 | protected $meta; |
||
10 | |||
11 | 3 | public function __construct(array $result, array $rawMeta) |
|
12 | { |
||
13 | 1 | parent::__construct($result); |
|
14 | |||
15 | 3 | $meta = array(); |
|
16 | 1 | foreach ($rawMeta as $row) { |
|
17 | 1 | $meta[$row['Variable_name']] = $row['Value']; |
|
18 | } |
||
19 | |||
20 | 3 | $this->meta = $meta; |
|
21 | 1 | } |
|
22 | |||
23 | public function getSingleRow() |
||
31 | |||
32 | public function getMeta() |
||
36 | |||
37 | public function getAllowedCount() |
||
41 | |||
42 | public function getTotalCount() |
||
46 | } |
||
47 |