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 int $webspaceId |
||
30 | * @return Struct\PhpSettings |
||
31 | */ |
||
32 | public function getPhpSettings($webspaceId) |
||
44 | |||
45 | /** |
||
46 | * @param array $properties |
||
47 | * @param array|null $hostingProperties |
||
48 | * @param $planName |
||
49 | * @return Struct\Info |
||
50 | */ |
||
51 | public function create(array $properties, array $hostingProperties = null, $planName = null) |
||
81 | |||
82 | /** |
||
83 | * @param string $field |
||
84 | * @param integer|string $value |
||
85 | * @return bool |
||
86 | */ |
||
87 | public function delete($field, $value) |
||
91 | |||
92 | /** |
||
93 | * @param string $field |
||
94 | * @param integer|string $value |
||
95 | * @return Struct\GeneralInfo |
||
96 | */ |
||
97 | public function get($field, $value) |
||
102 | |||
103 | /** |
||
104 | * @return Struct\GeneralInfo[] |
||
105 | */ |
||
106 | public function getAll() |
||
110 | |||
111 | /** |
||
112 | * @param string $field |
||
113 | * @param integer|string $value |
||
114 | * @return Struct\DiskUsage |
||
115 | */ |
||
116 | public function getDiskUsage($field, $value) |
||
121 | |||
122 | } |
||
123 |