Documentation
GetStatus
Require: Symcon >= 5.1
int GetStatus ()
Returns
Current status
Description
This function returns the current status of the instance.
Table: Instance status
| Value | Constant | #status |
|---|---|---|
| 101 | IS_CREATING |
Instance is creating |
| 102 | IS_ACTIVE |
Instance is active |
| 103 | IS_DELETING |
Instance is deleting |
| 104 | IS_INACTIVE |
Instance is inactive |
| 105 | IS_NOTCREATED |
Instance was not created |
| 106 | IS_STANDBY |
Instance is in standby |
| >=200 | IS_EBASE |
Instance is faulty |
For more information on status codes, see Messages.
Example
// Queries the current status of the instance
$currentStatus = $this->GetStatus();