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 29 of file EntryPointEnvironment.php.
MediaWiki\EntryPointEnvironment::disableModDeflate | ( | ) |
Definition at line 65 of file EntryPointEnvironment.php.
MediaWiki\EntryPointEnvironment::exit | ( | int | $code = 0 | ) |
MediaWiki\EntryPointEnvironment::fastCgiFinishRequest | ( | ) |
Definition at line 45 of file EntryPointEnvironment.php.
MediaWiki\EntryPointEnvironment::getEnv | ( | string | $name | ) |
Returns the value of an environment variable.
string | $name |
Definition at line 93 of file EntryPointEnvironment.php.
MediaWiki\EntryPointEnvironment::getIni | ( | string | $name | ) |
Returns the value of an ini option.
string | $name |
Definition at line 106 of file EntryPointEnvironment.php.
MediaWiki\EntryPointEnvironment::getServerInfo | ( | string | $key, |
$default = null ) |
Definition at line 52 of file EntryPointEnvironment.php.
MediaWiki\EntryPointEnvironment::hasFastCgi | ( | ) |
Definition at line 38 of file EntryPointEnvironment.php.
Referenced by MediaWiki\MediaWikiEntryPoint\__construct().
MediaWiki\EntryPointEnvironment::isCli | ( | ) |
Definition at line 31 of file EntryPointEnvironment.php.
Referenced by MediaWiki\MediaWikiEntryPoint\__construct().
MediaWiki\EntryPointEnvironment::setIniOption | ( | string | $name, |
$value ) |
string | $name | |
mixed | $value |
Definition at line 116 of file EntryPointEnvironment.php.
MediaWiki\EntryPointEnvironment::triggerError | ( | string | $message, |
int | $level = E_USER_NOTICE ) |
Triggers a PHP runtime error.
Definition at line 80 of file EntryPointEnvironment.php.