Méthode |
Description |
|
addHTML ( string $content ) : void |
Add HTML code to the response |
|
addJSON ( mixed $json, mixed $value = null ) : void |
Add JSON code to the response |
|
disable ( ) : void |
Disables the rendering of the header
and the footer in responses |
|
getCWD ( ) : string |
Returns the path to the current working directory
Necessary to work around a PHP bug where the CWD is
reset after the initial script exits |
|
getFooter ( ) : Footer |
Returns a PMA\libraries\Footer object |
|
getHeader ( ) : Header |
Returns a PMA\libraries\Header object |
|
getInstance ( ) : Response |
Returns the singleton Response object |
|
header ( string $text ) : void |
Wrapper around PHP's header() function. |
|
headersSent ( ) : boolean |
Wrapper around PHP's headers_sent() function. |
|
isAjax ( ) : boolean |
Returns true or false depending on whether
we are servicing an ajax request |
|
response ( ) : void |
Sends an HTML response to the browser |
|
setRequestStatus ( boolean $state ) : void |
Set the status of an ajax response,
whether it is a success or an error |
|