1 | <?php |
||
7 | class Webspace extends \PleskX\Api\Operator |
||
8 | { |
||
9 | |||
10 | public function getPermissionDescriptor() |
||
15 | |||
16 | public function getLimitDescriptor() |
||
21 | |||
22 | public function getPhysicalHostingDescriptor() |
||
27 | |||
28 | /** |
||
29 | * @param array $properties |
||
30 | * @param array|null $hostingProperties |
||
31 | * @param $planName |
||
32 | * @return Struct\Info |
||
33 | */ |
||
34 | public function create(array $properties, array $hostingProperties = null, $planName = null) |
||
64 | |||
65 | /** |
||
66 | * @param string $field |
||
67 | * @param integer|string $value |
||
68 | * @return bool |
||
69 | */ |
||
70 | public function delete($field, $value) |
||
74 | |||
75 | /** |
||
76 | * @param string $field |
||
77 | * @param integer|string $value |
||
78 | * @return Struct\GeneralInfo |
||
79 | */ |
||
80 | public function get($field, $value) |
||
85 | |||
86 | /** |
||
87 | * @return Struct\GeneralInfo[] |
||
88 | */ |
||
89 | public function getAll() |
||
93 | |||
94 | /** |
||
95 | * @param string $field |
||
96 | * @param integer|string $value |
||
97 | * @return Struct\DiskUsage |
||
98 | */ |
||
99 | public function getDiskUsage($field, $value) |
||
104 | |||
105 | } |
||
106 |