diff --git a/gosa-core/include/smarty/plugins/modifier.count_characters.php b/gosa-core/include/smarty/plugins/modifier.count_characters.php
index 5ed9a87cd1f099b7a5d45944e7405e6c139ed58c..6d52465537f195ca53e8b4670f06ef92909ed831 100644 (file)
/**
* Smarty plugin
* @package Smarty
- * @subpackage plugins
+ * @subpackage PluginsModifier
*/
* @link http://smarty.php.net/manual/en/language.modifier.count.characters.php
* count_characters (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com>
- * @param string
- * @param boolean include whitespace in the character count
- * @return integer
+ * @param string $string input string
+ * @param boolean $include_spaces include whitespace in the character count
+ * @return integer number of characters
*/
function smarty_modifier_count_characters($string, $include_spaces = false)
{
return preg_match_all("/[^\s]/",$string, $match);
}
-
-/* vim: set expandtab: */
-
?>