Liste de tous les membres
Documentation des fonctions membres
static JResponse::allowCache |
( |
|
$allow = null | ) |
|
|
static |
static JResponse::appendBody |
( |
|
$content | ) |
|
|
static |
Append content to the body content
- Paramètres:
-
string | $content | The content to append to the response body. |
- Renvoie:
- void
- Depuis:
- 11.1
Référencé par JInstallation\debugLanguage().
static JResponse::clearHeaders |
( |
| ) |
|
|
static |
Clear headers.
- Renvoie:
- void
- Depuis:
- 11.1
static JResponse::clientEncoding |
( |
| ) |
|
|
staticprotected |
Check, whether client supports compressed data
- Renvoie:
- boolean
- Depuis:
- 11.1
- Note:
- Replaces _clientEncoding method from 11.1
static JResponse::compress |
( |
|
$data | ) |
|
|
staticprotected |
Compress the data
Checks the accept encoding of the browser and compresses the data before sending it to the client.
- Paramètres:
-
string | $data | Content to compress for output. |
- Renvoie:
- string compressed data
- Note:
- Replaces _compress method in 11.1
- Depuis:
- 11.1
Références $data.
static JResponse::getBody |
( |
|
$toArray = false | ) |
|
|
static |
static JResponse::getHeaders |
( |
| ) |
|
|
static |
Return array of headers.
- Renvoie:
- array
- Depuis:
- 11.1
static JResponse::prependBody |
( |
|
$content | ) |
|
|
static |
Prepend content to the body content
- Paramètres:
-
string | $content | The content to prepend to the response body. |
- Renvoie:
- void
- Depuis:
- 11.1
static JResponse::sendHeaders |
( |
| ) |
|
|
static |
static JResponse::setBody |
( |
|
$content | ) |
|
|
static |
static JResponse::setHeader |
( |
|
$name, |
|
|
|
$value, |
|
|
|
$replace = false |
|
) |
| |
|
static |
Set a header.
If $replace is true, replaces any headers already defined with that $name.
- Paramètres:
-
string | $name | The name of the header to set. |
string | $value | The value of the header to set. |
boolean | $replace | True to replace any existing headers by name. |
- Renvoie:
- void
- Depuis:
- 11.1
Références $key, et $name.
Référencé par JCacheControllerPage\_setEtag(), ContactViewContact\display(), BannersViewTracks\display(), JHtmlBehavior\noframes(), plgSystemP3p\onAfterInitialise(), JDocumentXml\render(), JDocumentJSON\render(), JDocumentError\render(), JSite\render(), JDocument\render(), FinderControllerIndexer\sendResponse(), JInstallationControllerSetup\sendResponse(), et JInstallationControllerSetup\setlanguage().
static JResponse::toString |
( |
|
$compress = false | ) |
|
|
static |
Documentation des données membres
JResponse::$body = array() |
|
staticprotected |
JResponse::$cachable = false |
|
staticprotected |
JResponse::$headers = array() |
|
staticprotected |
La documentation de cette classe a été générée à partir du fichier suivant :