| 1 | <?php |
||
| 8 | class DatabaseServer extends \PleskX\Api\Operator |
||
| 9 | { |
||
| 10 | |||
| 11 | protected $_wrapperTag = 'db_server'; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @return array |
||
| 15 | */ |
||
| 16 | public function getSupportedTypes() |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param string $field |
||
| 24 | * @param integer|string $value |
||
| 25 | * @return Struct\Info |
||
| 26 | */ |
||
| 27 | public function get($field, $value) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return Struct\Info[] |
||
| 35 | */ |
||
| 36 | public function getAll() |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @param string|null $field |
||
| 43 | * @param integer|string|null $value |
||
| 44 | * @return Struct\Info|Struct\Info[] |
||
| 45 | */ |
||
| 46 | private function _get($field = null, $value = null) |
||
| 65 | |||
| 66 | } |
||
| 67 |