public function sendHeader($message, $code = null)
    {
        if (!($this->request instanceof WebRequest)) {
            return;
        }
        
        if ($code !== null) {
            header($message, true, $code);
        } else {
            header($message);
        }
    }
public function sendHeader($message, $code = null)
    {
        if (!($this->request instanceof WebRequest)) {
            return;
        }
        
        if ($code !== null) {
            header($message, true, $code);
        } else {
            header($message);
        }
    }
public function sendHeader ( $ message , $ code = null ) { if ( ! ( $ this -> request instanceof WebRequest ) ) { return ; } if ( $ code !== null ) { header ( $ message , true , $ code ) ; } else { header ( $ message ) ; } }
Sends a header

@access public
@param string $message
@param integer $code
Sends a header