Hazaar\Template\Smarty
Modifier
Summary
MethodsPropertiesConstants
No constants
Properties
Static
$modifiers
$modifiers
Methods
()
($value, $default = null)
capitalize()
capitalize($string)
cat()
cat()
count_characters()
count_characters($string, $include_whitespace = false)
count_paragraphs()
count_paragraphs($string)
count_sentences()
count_sentences($string)
count_words()
count_words($string)
date_format()
date_format($item, $format)
escape()
escape($string, $format = 'html', $character_encoding = 'ISO-8859-1')
Static
has_function()
has_function($func)
implode()
implode($array, $glue = '')
indent()
indent($string, $length = 4, $pad_string = ' ')
lower()
lower($string)
nl2br()
nl2br($string)
number_format()
number_format($string, $decimals = 0, $dec_point = '.', $thousands_sep = ',')
regex_replace()
regex_replace($string, $pattern = '//', $replacement = '')
replace()
replace($string, $search, $replace)
spacify()
spacify($string, $replacement = ' ')
string_format()
string_format($string, $format)
strip()
strip($string, $replacement = ' ')
strip_tags()
strip_tags($string)
truncate()
truncate($string, $chars = 80, $text = '...', $cut = false, $middle = false)
upper()
upper($string)
wordwrap()
wordwrap($string, $width = 80, $break = '"\n"', $cut = true)