final public detectEncoding (mixed $str) Detect the character encoding of a string to be handled by an encoder Special-handling
public escapeHtmlAttr (mixed $attribute) Escapes a HTML attribute string
implements Phalcon\EscaperInterface
public escapeCss (mixed $css) Escape CSS strings by replacing non-alphanumeric chars by their hexadecimal escaped
public setDoubleEncode (mixed $doubleEncode) Sets the double_encode to be used by the escaper
public setEncoding (mixed $encoding) Sets the encoding to be used by the escaper
public getEncoding () Returns the internal encoding used by the escaper
final public normalizeEncoding (mixed $str) Utility to normalize a string’s encoding to UTF-32.
public escapeUrl (mixed $url) Escapes a URL. Internally uses rawurlencode
public escapeJs (mixed $js) Escape javascript strings by replacing non-alphanumeric chars by their hexadecimal escaped
Page 1 of 2