smarty_modifiercompiler_cat
smarty_modifiercompiler_count_characters
smarty_modifiercompiler_count_paragraphs
smarty_modifiercompiler_count_sentences
smarty_modifiercompiler_count_words
smarty_modifiercompiler_default
smarty_modifiercompiler_escape
smarty_modifiercompiler_from_charset
smarty_modifiercompiler_indent
smarty_modifiercompiler_lower
smarty_modifiercompiler_noprint
smarty_modifiercompiler_string_format
smarty_modifiercompiler_strip
smarty_modifiercompiler_strip_tags
smarty_modifiercompiler_to_charset
smarty_modifiercompiler_unescape
smarty_modifiercompiler_upper
smarty_modifiercompiler_wordwrap
smarty_modifiercompiler_cat(array $params, $compiler) : string
Type: modifier
Name: cat
Date: Feb 24, 2003
Purpose: catenate a value to a variable
Input: string to catenate
Example: {$var|cat:"foo"}
link | cat (Smarty online manual) |
---|---|
author | Uwe Tews |
array
parameters
string
with compiled codesmarty_modifiercompiler_count_characters(array $params, $compiler) : string
Type: modifier
Name: count_characteres
Purpose: count the number of characters in a text
link | count_characters (Smarty online manual) |
---|---|
author | Uwe Tews |
array
parameters
string
with compiled codesmarty_modifiercompiler_count_paragraphs(array $params, $compiler) : string
Type: modifier
Name: count_paragraphs
Purpose: count the number of paragraphs in a text
link | count_paragraphs (Smarty online manual) |
---|---|
author | Uwe Tews |
array
parameters
string
with compiled codesmarty_modifiercompiler_count_sentences(array $params, $compiler) : string
Type: modifier
Name: count_sentences
Purpose: count the number of sentences in a text
link | count_sentences (Smarty online manual) |
---|---|
author | Uwe Tews |
array
parameters
string
with compiled codesmarty_modifiercompiler_count_words(array $params, $compiler) : string
Type: modifier
Name: count_words
Purpose: count the number of words in a text
link | count_words (Smarty online manual) |
---|---|
author | Uwe Tews |
array
parameters
string
with compiled codesmarty_modifiercompiler_default(array $params, $compiler) : string
Type: modifier
Name: default
Purpose: designate default value for empty variables
link | default (Smarty online manual) |
---|---|
author | Uwe Tews |
array
parameters
string
with compiled codesmarty_modifiercompiler_escape(array $params, $compiler) : string
Type: modifier
Name: escape
Purpose: escape string for output
link | count_characters (Smarty online manual) |
---|---|
author | Rodney Rehm |
array
parameters
string
with compiled codesmarty_modifiercompiler_from_charset(array $params, $compiler) : string
Type: modifier
Name: from_charset
Purpose: convert character encoding from $charset to internal encoding
author | Rodney Rehm |
---|
array
parameters
string
with compiled codesmarty_modifiercompiler_indent(array $params, $compiler) : string
Type: modifier
Name: indent
Purpose: indent lines of text
link | indent (Smarty online manual) |
---|---|
author | Uwe Tews |
array
parameters
string
with compiled codesmarty_modifiercompiler_lower(array $params, $compiler) : string
Type: modifier
Name: lower
Purpose: convert string to lowercase
link | lower (Smarty online manual) |
---|---|
author | Monte Ohrt <monte at ohrt dot com> |
author | Uwe Tews |
array
parameters
string
with compiled codesmarty_modifiercompiler_string_format(array $params, $compiler) : string
Type: modifier
Name: string_format
Purpose: format strings via sprintf
link | string_format (Smarty online manual) |
---|---|
author | Uwe Tews |
array
parameters
string
with compiled codesmarty_modifiercompiler_strip(array $params, $compiler) : string
Type: modifier
Name: strip
Purpose: Replace all repeated spaces, newlines, tabs
with a single space or supplied replacement string.
Example: {$var|strip} {$var|strip:" "}
Date: September 25th, 2002
link | strip (Smarty online manual) |
---|---|
author | Uwe Tews |
array
parameters
string
with compiled codesmarty_modifiercompiler_to_charset(array $params, $compiler) : string
Type: modifier
Name: to_charset
Purpose: convert character encoding from internal encoding to $charset
author | Rodney Rehm |
---|
array
parameters
string
with compiled codesmarty_modifiercompiler_unescape(array $params, $compiler) : string
Type: modifier
Name: unescape
Purpose: unescape html entities
author | Rodney Rehm |
---|
array
parameters
string
with compiled codesmarty_modifiercompiler_upper(array $params, $compiler) : string
Type: modifier
Name: lower
Purpose: convert string to uppercase
link | lower (Smarty online manual) |
---|---|
author | Uwe Tews |
array
parameters
string
with compiled codesmarty_modifiercompiler_wordwrap(array $params, $compiler) : string
Type: modifier
Name: wordwrap
Purpose: wrap a string of text at a given length
link | wordwrap (Smarty online manual) |
---|---|
author | Uwe Tews |
array
parameters
string
with compiled code