1 | <?php |
||
7 | class Customer extends \PleskX\Api\Operator |
||
8 | { |
||
9 | |||
10 | /** |
||
11 | * @param array $properties |
||
12 | * @return Struct\Info |
||
13 | */ |
||
14 | public function create($properties) |
||
26 | |||
27 | /** |
||
28 | * @param string $field |
||
29 | * @param integer|string $value |
||
30 | * @return bool |
||
31 | */ |
||
32 | public function delete($field, $value) |
||
39 | |||
40 | /** |
||
41 | * @param string $field |
||
42 | * @param integer|string $value |
||
43 | * @return Struct\GeneralInfo |
||
44 | */ |
||
45 | public function get($field, $value) |
||
49 | |||
50 | /** |
||
51 | * @return Struct\GeneralInfo[] |
||
52 | */ |
||
53 | public function getAll() |
||
57 | |||
58 | /** |
||
59 | * @param string|null $field |
||
60 | * @param integer|string|null $value |
||
61 | * @return Struct\GeneralInfo|Struct\GeneralInfo[] |
||
62 | */ |
||
63 | private function _get($field = null, $value = null) |
||
84 | |||
85 | } |
||
86 |