API16:JResponse/clearHeaders
From Joomla! Documentation
Description
Clear headers.
Syntax
static clearHeaders()
Defined in
libraries/joomla/environment/response.php
Importing
jimport( 'joomla.environment.response' );
Source Body
public static function clearHeaders() {
$GLOBALS['_JRESPONSE']->headers = array();
}
Examples
Code Examples