Code

fixed property
[gosa.git] / gosa-core / include / smarty / plugins / modifier.count_characters.php
index 5ed9a87cd1f099b7a5d45944e7405e6c139ed58c..6d52465537f195ca53e8b4670f06ef92909ed831 100644 (file)
@@ -2,7 +2,7 @@
 /**
  * Smarty plugin
  * @package Smarty
- * @subpackage plugins
+ * @subpackage PluginsModifier
  */
 
 
@@ -15,9 +15,9 @@
  * @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)
 {
@@ -26,7 +26,4 @@ function smarty_modifier_count_characters($string, $include_spaces = false)
 
     return preg_match_all("/[^\s]/",$string, $match);
 }
-
-/* vim: set expandtab: */
-
 ?>