static protected function setHeaders($viewObj)
    {
        // get the cache attribute
        // if cache = browser, set the cache control in headers
        header('Pragma:', true);
        header('Cache-Control: max-age=3600', true);
        $offset = 60 * 60 * 24 * - 1;
        $ExpStr = "Expires: " . gmdate("D, d M Y H:i:s", time() + $offset) . " GMT";
        header($ExpStr, true);
    }
static protected function setHeaders($viewObj)
    {
        // get the cache attribute
        // if cache = browser, set the cache control in headers
        header('Pragma:', true);
        header('Cache-Control: max-age=3600', true);
        $offset = 60 * 60 * 24 * - 1;
        $ExpStr = "Expires: " . gmdate("D, d M Y H:i:s", time() + $offset) . " GMT";
        header($ExpStr, true);
    }
static protected function setHeaders ( $ viewObj ) { // get the cache attribute // if cache = browser, set the cache control in headers header ( 'Pragma:' , true ) ; header ( 'Cache-Control: max-age=3600' , true ) ; $ offset = 60 * 60 * 24 * - 1 ; $ ExpStr = "Expires: " . gmdate ( "D, d M Y H:i:s" , time ( ) + $ offset ) . " GMT" ; header ( $ ExpStr , true ) ; }
Set headers of view

@param WebPage $viewObj
@return void
Set headers of view