removed mods directory from the ATutor codebase
[atutor.git] / mods / phpdoc2 / PhpDocumentor / phpDocumentor / Smarty-2.6.0 / libs / plugins / modifier.count_characters.php
diff --git a/mods/phpdoc2/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/plugins/modifier.count_characters.php b/mods/phpdoc2/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/plugins/modifier.count_characters.php
deleted file mode 100644 (file)
index 2fb7c89..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<?php\r
-/**\r
- * Smarty plugin\r
- * @package Smarty\r
- * @subpackage plugins\r
- */\r
-\r
-\r
-/**\r
- * Smarty count_characters modifier plugin\r
- *\r
- * Type:     modifier<br>\r
- * Name:     count_characteres<br>\r
- * Purpose:  count the number of characters in a text\r
- * @link http://smarty.php.net/manual/en/language.modifier.count.characters.php\r
- *          count_characters (Smarty online manual)\r
- * @param string\r
- * @param boolean include whitespace in the character count\r
- * @return integer\r
- */\r
-function smarty_modifier_count_characters($string, $include_spaces = false)\r
-{\r
-    if ($include_spaces)\r
-       return(strlen($string));\r
-\r
-    return preg_match_all("/[^\s]/",$string, $match);\r
-}\r
-\r
-/* vim: set expandtab: */\r
-\r
-?>\r