PHP Class Latte\Runtime\Filters

ファイルを表示 Open project: nette/latte Class Usage Examples

Public Properties

Property Type Description
$dateFormat
$xhtml

Public Methods

Method Description
breaklines ( $s ) : Latte\Runtime\Html
bytes ( $bytes, $precision = 2 ) : string Converts to human readable file size.
capitalize ( $s ) : string Capitalize string.
convertTo ( FilterInfo $info, $dest, $s ) : string Converts .
dataStream ( $data, $type = NULL ) : string The data: URI generator.
date ( $time, $format = NULL ) : string Date/time formatting.
escapeCss ( $s ) : string Escapes string for use inside CSS template.
escapeHtml ( $s ) : string Escapes string for use inside HTML.
escapeHtmlAttr ( $s, $double = TRUE ) : string Escapes string for use inside HTML attribute value.
escapeHtmlAttrConv ( $s ) : string Escapes HTML for use inside HTML attribute.
escapeHtmlAttrUnquoted ( $s ) : string Escapes string for use inside HTML attribute name.
escapeHtmlComment ( $s ) : string Escapes string for use inside HTML comments.
escapeHtmlRawText ( $s ) : string Escapes CSS/JS for usage in