HEADER

HEADER Class provided by System Send HTML Headers

package

SYSTEM

Methods

Check if a given Datatype has a handler within this class.

available(string $datatype) : boolean
static

Not Case sensitive.

Arguments

$datatype

string

Datatype to be checked eg. 'jpg'

Response

boolean

Returns true or false

Check if Header was already sent Writes Warning into Database on failure if Database logging is enabled.

checkHeader() : boolean
static

Response

boolean

Returns true or false

Send CSS Headers, if Header was not sent yet

CSS() : null
static

Response

null

Returns null

Send FILE(download) Headers, if Header was not sent yet

FILE(string $filename) : null
static

Arguments

$filename

string

Filename which should be transmitted with the Filetransfere

Response

null

Returns null

Send GIF Headers, if Header was not sent yet

GIF() : null
static

Response

null

Returns null

Send JPEG Headers, if Header was not sent yet

JPEG() : null
static

Response

null

Returns null

Send JPG Headers, if Header was not sent yet

JPG() : null
static

Response

null

Returns null

Send JS Headers, if Header was not sent yet

JS() : null
static

Response

null

Returns null

Send JSON Headers, if Header was not sent yet

JSON() : null
static

Response

null

Returns null

Send LESS Headers, if Header was not sent yet

LESS() : null
static

Response

null

Returns null

Send PNG Headers, if Header was not sent yet

PNG() : null
static

Response

null

Returns null