Dokumentation
GetStatus
Benötigt: Symcon >= 5.1
int GetStatus ()
Rückgabewert
Aktueller Status
Beschreibung
Diese Funktion liefert den aktuellen Status der Instanz.
Tabelle: Status der Instanz
| Wert | Konstante | Status |
|---|---|---|
| 101 | IS_CREATING |
Instanz wird erstellt |
| 102 | IS_ACTIVE |
Instanz ist aktiv |
| 103 | IS_DELETING |
Instanz wird gelöscht |
| 104 | IS_INACTIVE |
Instanz ist inaktiv |
| 105 | IS_NOTCREATED |
Instanz wurde nicht erstellt |
| 106 | IS_STANDBY |
Instanz ist im Standby |
| >=200 | IS_EBASE |
Instanz ist fehlerhaft |
Für weitere Informationen zu Status Codes, siehe Nachrichten
Beispiel
// Fragt den aktuellen Status der Instanz ab
$currentStatus = $this->GetStatus();