|
MediaWiki master
|
Utility class wrapping PHP runtime state. More...
Public Member Functions | |
| disableModDeflate () | |
| exit (int $code=0) | |
| fastCgiFinishRequest () | |
| getEnv (string $name) | |
| Returns the value of an environment variable. | |
| getIni (string $name) | |
| Returns the value of an ini option. | |
| getServerInfo (string $key, $default=null) | |
| hasFastCgi () | |
| isCli () | |
| setIniOption (string $name, $value) | |
| triggerError (string $message, int $level=E_USER_NOTICE) | |
| Triggers a PHP runtime error. | |
Utility class wrapping PHP runtime state.
Definition at line 15 of file EntryPointEnvironment.php.
| MediaWiki\EntryPointEnvironment::disableModDeflate | ( | ) |
Definition at line 56 of file EntryPointEnvironment.php.
| MediaWiki\EntryPointEnvironment::exit | ( | int | $code = 0 | ) |
| MediaWiki\EntryPointEnvironment::fastCgiFinishRequest | ( | ) |
Definition at line 31 of file EntryPointEnvironment.php.
| MediaWiki\EntryPointEnvironment::getEnv | ( | string | $name | ) |
Returns the value of an environment variable.
| string | $name |
Definition at line 84 of file EntryPointEnvironment.php.
| MediaWiki\EntryPointEnvironment::getIni | ( | string | $name | ) |
Returns the value of an ini option.
| string | $name |
Definition at line 97 of file EntryPointEnvironment.php.
| MediaWiki\EntryPointEnvironment::getServerInfo | ( | string | $key, |
| $default = null ) |
| string | $key | |
| mixed | null | $default |
Definition at line 43 of file EntryPointEnvironment.php.
| MediaWiki\EntryPointEnvironment::hasFastCgi | ( | ) |
Definition at line 24 of file EntryPointEnvironment.php.
Referenced by MediaWiki\MediaWikiEntryPoint\__construct().
| MediaWiki\EntryPointEnvironment::isCli | ( | ) |
Definition at line 17 of file EntryPointEnvironment.php.
Referenced by MediaWiki\MediaWikiEntryPoint\__construct().
| MediaWiki\EntryPointEnvironment::setIniOption | ( | string | $name, |
| $value ) |
| string | $name | |
| mixed | $value |
Definition at line 107 of file EntryPointEnvironment.php.
| MediaWiki\EntryPointEnvironment::triggerError | ( | string | $message, |
| int | $level = E_USER_NOTICE ) |
Triggers a PHP runtime error.
Definition at line 71 of file EntryPointEnvironment.php.