class Helpers

Rendering helpers for HTTP.

Methods

static string
formatDate($time)

Returns HTTP valid date format.

static bool
ipMatch($ip, $mask)

Is IP address in CIDR block?

static void
removeDuplicateCookies()

Removes duplicate cookies from response.

static 
stripSlashes($arr, $onlyKeys = FALSE)

No description

Details

at line 25
static string formatDate($time)

Returns HTTP valid date format.

Parameters

$time

Return Value

string

at line 37
static bool ipMatch($ip, $mask)

Is IP address in CIDR block?

Parameters

$ip
$mask

Return Value

bool

at line 56
static void removeDuplicateCookies()

internal  
 

Removes duplicate cookies from response.

Return Value

void

at line 78
static stripSlashes($arr, $onlyKeys = FALSE)

internal  
 

No description

Parameters

$arr
$onlyKeys