Ignition
class Ignition
Zentrale Startup-Klasse
ACHTUNG: IN DIESER KLASSE SIND DAS FRAMEWORK UND DIE KOMPONENTEN NOCH NICHT VERFÜGBAR! ES DÜRFEN DESHALB KEINE FUNKTIONEN DARAUS VERWENDET WERDEN.
Constants
INI_SYSTEM_FILE |
Default UUID dieser Anwendungsklasse |
INI_ASSEMBLY_FILE |
PLATFORM-FILE |
CONFIG_ENVIRONMENT_KEY |
|
INI_KEY_FILESYSTEM |
Schlüssel für die Dateien |
INI_KEY_COMPONENTS |
Schlüssel für Komponenten |
INI_KEY_COMPONENT |
Schlüssel für Komponenten |
INI_KEY_ADDITIONAL_COMPONENTS |
Schlüssel für zusätzliche Komponenten |
INI_KEY_ADDITIONAL_COMPONENT |
INI_KEY_ADDITIONAL_COMPONENT |
INI_KEY_UNITS |
Schlüssel für Komponenten |
BASEPATH |
Hier liegt das Standardsystem (readonly) |
VENDORPATH |
Phar-Archive, externe Bibliotheken |
TEMPPATH |
Temporäre Dateien |
DATAPATH |
Kunden- und Projektspezifische Dateien |
LOGPATH |
Logging und Debugging |
CONFIGPATH |
Konfigurationsdateien (Routen, Zugangsdaten) |
CUSTOMISATIONPATH |
Kunden- und projektspezifischer Code |
WEBPATH |
über HTTP aufrufbare Dateien |
SAPI_KEY_HTTP |
HTTP-Schnittstellen-Wert für Konfiguration |
SAPI_KEY_CLI |
CLI-Schnittstellen-Wert für Konfiguration |
SAPI_HTTP |
HTTP-Schnittstelle |
SAPI_CLI |
CLI-Schnittstelle |
Properties
static protected Ignition | $instance | ||
protected array | $iniData | ||
protected boolean|null | $returnValue | ||
protected integer | $exitValue | ||
protected string | $hash | ||
protected string | $sapiName | ||
protected integer | $sapiType | ||
protected array | $headers | ||
protected string | $httpStatus | ||
protected array | $assemblyIniData | ||
protected array | $systemIniData | ||
protected type | $isTPutSupport |
Methods
Prüfen ob CLI
Prüfen ob HTTP
Return-wert
No description
Eindeutige ID
Exit-Code
Exit-Code setzen
Instanz
Environment auslesen und zurückgegen. Es wird in ENV und SERVER gesucht. Wird keine Variable gefunden, wird default zurückgegeben.
Ini auslesen
Systempfad auslesen
No description
SystemInit
Platform
No description
No description
No description
No description
No description
No description
No description
No description
No description
Headers senden
HTTP-Status setzen
Prüfen, ob die Anweisung auf dem Client ausgeführt werden soll
Details
at line 249
bool
isCliApi()
Prüfen ob CLI
at line 258
bool
isHttpApi()
Prüfen ob HTTP
at line 267
bool|null
getReturnCode()
Return-wert
at line 277
Ignition
setReturnCode(bool $code)
at line 287
string
getID()
Eindeutige ID
at line 296
int|null
getExitCode()
Exit-Code
at line 307
Ignition
setExitCode(int $code)
Exit-Code setzen
at line 317
static Ignition
getInstance()
Instanz
at line 335
string
getEnvironment(string $key, mixed $default = null)
Environment auslesen und zurückgegen. Es wird in ENV und SERVER gesucht. Wird keine Variable gefunden, wird default zurückgegeben.
at line 364
protected array
loadIniFile(string $path)
Ini auslesen
at line 388
string
getSystemPath(string $name)
Systempfad auslesen
at line 411
static string
sanitizePath(string $path)
at line 449
array|null
getSystemIni()
SystemInit
at line 458
array|null
getAssemblyIni()
Platform
at line 466
protected string
getSystemIniPath()
at line 486
protected string
getAssemblyIniPath()
at line 497
Ignition
initIniFiles()
at line 510
Ignition
runUnits()
Ausführen der Units
at line 554
static protected string
mask(string $value, string $key = null)
at line 576
static protected type
getVariableForJson(type $variable)
at line 609
static protected type
getVariableForTextDump(type $label, type $variable)
at line 717
type
handleExit()
at line 742
$this
handleException(Exception $exception)
at line 756
protected Ignition
sendTerminalCommand(string $sequence)
at line 768
protected $this
handleCliException(Exception $exception)
at line 780
protected $this
handleHttpException(Exception $exception)
at line 868
protected string|null
getSupportedMimeType(array $supportedTypes)
at line 897
protected Ignition
sendHeaders()
Headers senden
at line 929
Ignition
setHttpStatus(string $status)
HTTP-Status setzen
at line 949
Ignition
setHeader(string $key, string $value)
Headers setzen
at line 966
protected boolean
shouldExecuteForThisClient(string $pattern)
Prüfen, ob die Anweisung auf dem Client ausgeführt werden soll