public function status($code = 200)
    {
        if (!isset(self::$codes[$code])) {
            return false;
        }
        $this->header($code . ' ' . self::$codes[$code]);
        return true;
    }
public function status($code = 200)
    {
        if (!isset(self::$codes[$code])) {
            return false;
        }
        $this->header($code . ' ' . self::$codes[$code]);
        return true;
    }
public function status ( $ code = 200 ) { if ( ! isset ( self :: $ codes [ $ code ] ) ) { return false ; } $ this -> header ( $ code . ' ' . self :: $ codes [ $ code ] ) ; return true ; }
Send HTTP-status
@param  integer $code Code
@throws RequestHeadersAlreadySent
@return boolean Success
Send HTTP - status