smarty_modifiercompiler_count_paragraphs()
smarty_modifiercompiler_count_paragraphs(array $params, $compiler) : string
Smarty count_paragraphs modifier plugin
Type: modifier
Name: count_paragraphs
Purpose: count the number of paragraphs in a text
Parameters
array | $params | parameters |
$compiler |
Returns
string —with compiled code