1 | <?php |
||
5 | class JsonResponse |
||
6 | { |
||
7 | private $errcode = -123456789; |
||
8 | private $message = ''; |
||
9 | private $parms = array(); |
||
10 | |||
11 | 2 | public function __construct($errcode, $message, $parms = null) |
|
19 | |||
20 | public function __toString() |
||
24 | |||
25 | 2 | public function getEncodedResponse() |
|
29 | |||
30 | 2 | public function getArrayResponse() |
|
34 | } |
||
35 |