class Filters

internal  
 

Template filters. Uses UTF-8 only.

Properties

static deprecated $dateFormat
static internal $xhtml

Methods

static string
escapeHtml(mixed $s)

Escapes string for use inside HTML.

static string
escapeHtmlText(mixed $s)

Escapes string for use inside HTML.

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

Escapes string for use inside HTML attribute value.

static string
escapeHtmlAttrConv(mixed $s)

Escapes HTML for use inside HTML attribute.

static string
escapeHtmlAttrUnquoted(string $s)

Escapes string for use inside HTML attribute name.

static string
escapeHtmlComment(string $s)

Escapes string for use inside HTML comments.

static string
escapeXml(string $s)

Escapes string for use inside XML 1.0 template.

static string
escapeXmlAttrUnquoted(string $s)

Escapes string for use inside XML attribute name.

static string
escapeCss(string $s)

Escapes string for use inside CSS template.

static string
escapeJs(mixed $s)

Escapes variables for use inside