cvs: smarty /libs/plugins modifier.cat.php modifier.count_characters.php modifier.count_paragraphs.php modifier.count_sentences.php

From: Date: Sun, 20 Apr 2003 21:12:05 +0000
Subject: cvs: smarty /libs/plugins modifier.cat.php modifier.count_characters.php modifier.count_paragraphs.php modifier.count_sentences.php
Groups: php.smarty.cvs 
Request: Send a blank email to php-smarty-cvs+get-548@lists.php.net to get a copy of this message
cellog Sun Apr 20 17:12:05 2003 EDT Modified files: /smarty/libs/plugins modifier.cat.php modifier.count_characters.php modifier.count_paragraphs.php modifier.count_sentences.php Log: updated all doc comments to phpDocumentor format Index: smarty/libs/plugins/modifier.cat.php diff -u smarty/libs/plugins/modifier.cat.php:1.1 smarty/libs/plugins/modifier.cat.php:1.2 --- smarty/libs/plugins/modifier.cat.php:1.1 Mon Feb 24 11:31:47 2003 +++ smarty/libs/plugins/modifier.cat.php Sun Apr 20 17:12:05 2003 @@ -1,17 +1,27 @@ <?php - -/* +/** * Smarty plugin - * ------------------------------------------------------------- - * Type: modifier - * Name: cat - * Version: 1.0 + * @package Smarty + * @subpackage plugins + */ + + +/** + * Smarty cat modifier plugin + * + * Type: modifier<br> + * Name: cat<br> * Date: Feb 24, 2003 - * Author: Monte Ohrt <monte@ispi.net> - * Purpose: catentate a value to a variable + * Purpose: catenate a value to a variable * Input: string to catenate * Example: {$var|cat:"foo"} - * ------------------------------------------------------------- + * @link http://smarty.php.net/manual/en/language.modifier.cat.php cat + * (Smarty online manual) + * @author Monte Ohrt <monte@ispi.net> + * @version 1.0 + * @param string + * @param string + * @return string */ function smarty_modifier_cat($string, $cat) { Index: smarty/libs/plugins/modifier.count_characters.php diff -u smarty/libs/plugins/modifier.count_characters.php:1.1 smarty/libs/plugins/modifier.count_characters.php:1.2 --- smarty/libs/plugins/modifier.count_characters.php:1.1 Thu Jan 31 15:49:40 2002 +++ smarty/libs/plugins/modifier.count_characters.php Sun Apr 20 17:12:05 2003 @@ -1,12 +1,22 @@ <?php - -/* +/** * Smarty plugin - * ------------------------------------------------------------- - * Type: modifier - * Name: count_characteres + * @package Smarty + * @subpackage plugins + */ + + +/** + * Smarty count_characters modifier plugin + * + * Type: modifier<br> + * Name: count_characteres<br> * Purpose: count the number of characters in a text - * ------------------------------------------------------------- + * @link http://smarty.php.net/manual/en/language.modifier.count.characters.php + * count_characters (Smarty online manual) + * @param string + * @param boolean include whitespace in the character count + * @return integer */ function smarty_modifier_count_characters($string, $include_spaces = false) { Index: smarty/libs/plugins/modifier.count_paragraphs.php diff -u smarty/libs/plugins/modifier.count_paragraphs.php:1.1 smarty/libs/plugins/modifier.count_paragraphs.php:1.2 --- smarty/libs/plugins/modifier.count_paragraphs.php:1.1 Thu Jan 31 15:49:40 2002 +++ smarty/libs/plugins/modifier.count_paragraphs.php Sun Apr 20 17:12:05 2003 @@ -1,12 +1,21 @@ <?php - -/* +/** * Smarty plugin - * ------------------------------------------------------------- - * Type: modifier - * Name: count_paragraphs + * @package Smarty + * @subpackage plugins + */ + + +/** + * Smarty count_paragraphs modifier plugin + * + * Type: modifier<br> + * Name: count_paragraphs<br> * Purpose: count the number of paragraphs in a text - * ------------------------------------------------------------- + * @link http://smarty.php.net/manual/en/language.modifier.count.paragraphs.php + * count_paragraphs (Smarty online manual) + * @param string + * @return integer */ function smarty_modifier_count_paragraphs($string) { Index: smarty/libs/plugins/modifier.count_sentences.php diff -u smarty/libs/plugins/modifier.count_sentences.php:1.1 smarty/libs/plugins/modifier.count_sentences.php:1.2 --- smarty/libs/plugins/modifier.count_sentences.php:1.1 Thu Jan 31 15:49:40 2002 +++ smarty/libs/plugins/modifier.count_sentences.php Sun Apr 20 17:12:05 2003 @@ -1,12 +1,21 @@ <?php - -/* +/** * Smarty plugin - * ------------------------------------------------------------- - * Type: modifier + * @package Smarty + * @subpackage plugins + */ + + +/** + * Smarty count_sentences modifier plugin + * + * Type: modifier<br> * Name: count_sentences * Purpose: count the number of sentences in a text - * ------------------------------------------------------------- + * @link http://smarty.php.net/manual/en/language.modifier.count.paragraphs.php + * count_sentences (Smarty online manual) + * @param string + * @return integer */ function smarty_modifier_count_sentences($string) {

« previous php.smarty.cvs (#548) next »