class Filters

internal  
 

Escaping & sanitization filters.

Properties

static deprecated $dateFormat

Methods

static string
escapeHtml($s)

Escapes string for use everywhere inside HTML (except for comments).

static string
escapeHtmlText($s)

Escapes string for use inside HTML text.

static string
escapeHtmlAttr($s, bool $double = true)

Escapes string for use inside HTML attribute value.

static string
escapeHtmlTag($s)

Escapes string for use inside HTML tag.

static string
escapeHtmlComment($s)

Escapes string for use inside HTML/XML comments.

static string
escapeHtmlRawTextHtml($s)

Escapes HTML for usage in