class Filters

internal  
 

Template filters. Uses UTF-8 only.

Properties

static deprecated $dateFormat
static internal $xhtml

Methods

static string
escapeHtml($s)

Escapes string for use inside HTML.

static string
escapeHtmlText($s)

Escapes string for use inside HTML.

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

Escapes string for use inside HTML attribute value.

static string
escapeHtmlAttrConv($s)

Escapes HTML for use inside HTML attribute.

static string
escapeHtmlAttrUnquoted($s)

Escapes string for use inside HTML attribute name.

static string
escapeHtmlComment($s)

Escapes string for use inside HTML comments.

static string
escapeXml($s)

Escapes string for use inside XML 1.0 template.

static string
escapeXmlAttrUnquoted($s)

Escapes string for use inside XML attribute name.

static string
escapeCss($s)

Escapes string for use inside CSS template.

static string
escapeJs($s)

Escapes variables for use inside