| @@ 96-104 (lines=9) @@ | ||
| 93 | *  | 
                                |
| 94 | * @return Struct\Info[]  | 
                                |
| 95 | */  | 
                                |
| 96 | public function getAll($field, $value)  | 
                                |
| 97 |     { | 
                                |
| 98 |         $response = $this->_get('get-db', $field, $value); | 
                                |
| 99 | $items = [];  | 
                                |
| 100 |         foreach ($response->xpath('//result') as $xmlResult) { | 
                                |
| 101 | $items[] = new Struct\Info($xmlResult);  | 
                                |
| 102 | }  | 
                                |
| 103 | ||
| 104 | return $items;  | 
                                |
| 105 | }  | 
                                |
| 106 | ||
| 107 | /**  | 
                                |
| @@ 113-121 (lines=9) @@ | ||
| 110 | *  | 
                                |
| 111 | * @return Struct\UserInfo[]  | 
                                |
| 112 | */  | 
                                |
| 113 | public function getAllUsers($field, $value)  | 
                                |
| 114 |     { | 
                                |
| 115 |         $response = $this->_get('get-db-users', $field, $value); | 
                                |
| 116 | $items = [];  | 
                                |
| 117 |         foreach ($response->xpath('//result') as $xmlResult) { | 
                                |
| 118 | $items[] = new Struct\UserInfo($xmlResult);  | 
                                |
| 119 | }  | 
                                |
| 120 | ||
| 121 | return $items;  | 
                                |
| 122 | }  | 
                                |
| 123 | ||
| 124 | /**  | 
                                |
| @@ 61-69 (lines=9) @@ | ||
| 58 | *  | 
                                |
| 59 | * @return Struct\DataInfo[]  | 
                                |
| 60 | */  | 
                                |
| 61 | public function getAll($field, $value)  | 
                                |
| 62 |     { | 
                                |
| 63 |         $response = $this->_get('get', $field, $value); | 
                                |
| 64 | $items = [];  | 
                                |
| 65 |         foreach ($response->xpath('//result/data') as $xmlResult) { | 
                                |
| 66 | $items[] = new Struct\DataInfo($xmlResult);  | 
                                |
| 67 | }  | 
                                |
| 68 | ||
| 69 | return $items;  | 
                                |
| 70 | }  | 
                                |
| 71 | ||
| 72 | /**  | 
                                |