Class ilHTTP.
More...
◆ httpResponseCode()
static ilHTTP::httpResponseCode |
( |
|
$status | ) |
|
|
staticprivate |
- Parameters
-
Definition at line 94 of file class.ilHTTP.php.
94 {
96 $string = $protocol . ' ' . $status . ' ' . self::$http_codes[$status];
97 $GLOBALS[
'http_response_code'] = $status;
98
99 header($string, true, $status);
100 }
$GLOBALS['PHPCAS_CLIENT']
This global variable is used by the interface class phpCAS.
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']
References $_SERVER, $GLOBALS, and PREFIX.
Referenced by status().
◆ status()
static ilHTTP::status |
( |
|
$status | ) |
|
|
static |
◆ $http_codes
◆ PREFIX
const ilHTTP::PREFIX = 'HTTP/1.1' |
The documentation for this class was generated from the following file: