Hosting APIs Handler.
More...
Detailed Description
Member Function Documentation
| static getClass |
( |
$ |
type, |
|
|
$ |
data = array() |
|
) |
| [static] |
Get class by type
- Parameters:
-
| string | Type |
| array | Temporary data |
- Returns:
- object Object of server_*
Load Server by Queue ID
- Parameters:
-
| int | $id | ID Number |
| array | $exclude | IDs to exclude |
- Returns:
- server_*
- Exceptions:
-
| Exception |
- NO_QUEUE (queue doesn't exist)
- NO_SERVERS_IN_QUEUE (there are no servers in that queue)
|
Load Account
- Parameters:
-
| int | array | $id | ID Number |
| int | null | $server | Server ID Override |
- Returns:
- account_*
- Exceptions:
-
| Exception |
- NO_ACCOUNT (account doesn't exist)
|
Load Server by Server ID
- Parameters:
-
- Returns:
- server_*
- Exceptions:
-
| Exception |
- NO_SERVER (server doesn't exist)
|
The documentation for this class was generated from the following file:
- admin/applications_addon/ips/nexus/sources/hostingCore.php