cvs: smarty /libs/plugins modifier.replace.php modifier.spacify.php modifier.string_format.php modifier.strip.php modifier.strip_tags.php

From: Date: Sun, 20 Apr 2003 21:12:11 +0000
Subject: cvs: smarty /libs/plugins modifier.replace.php modifier.spacify.php modifier.string_format.php modifier.strip.php modifier.strip_tags.php
Groups: php.smarty.cvs 
Request: Send a blank email to php-smarty-cvs+get-551@lists.php.net to get a copy of this message
cellog Sun Apr 20 17:12:11 2003 EDT Modified files: /smarty/libs/plugins modifier.replace.php modifier.spacify.php modifier.string_format.php modifier.strip.php modifier.strip_tags.php Log: updated all doc comments to phpDocumentor format Index: smarty/libs/plugins/modifier.replace.php diff -u smarty/libs/plugins/modifier.replace.php:1.1 smarty/libs/plugins/modifier.replace.php:1.2 --- smarty/libs/plugins/modifier.replace.php:1.1 Thu Jan 31 15:49:40 2002 +++ smarty/libs/plugins/modifier.replace.php Sun Apr 20 17:12:11 2003 @@ -1,12 +1,23 @@ <?php - -/* +/** * Smarty plugin - * ------------------------------------------------------------- - * Type: modifier - * Name: replace + * @package Smarty + * @subpackage plugins + */ + + +/** + * Smarty replace modifier plugin + * + * Type: modifier<br> + * Name: replace<br> * Purpose: simple search/replace - * ------------------------------------------------------------- + * @link http://smarty.php.net/manual/en/language.modifier.replace.php + * replace (Smarty online manual) + * @param string + * @param string + * @param string + * @return string */ function smarty_modifier_replace($string, $search, $replace) { Index: smarty/libs/plugins/modifier.spacify.php diff -u smarty/libs/plugins/modifier.spacify.php:1.1 smarty/libs/plugins/modifier.spacify.php:1.2 --- smarty/libs/plugins/modifier.spacify.php:1.1 Thu Jan 31 15:49:40 2002 +++ smarty/libs/plugins/modifier.spacify.php Sun Apr 20 17:12:11 2003 @@ -1,12 +1,22 @@ <?php - -/* +/** * Smarty plugin - * ------------------------------------------------------------- - * Type: modifier - * Name: spacify + * @package Smarty + * @subpackage plugins + */ + + +/** + * Smarty spacify modifier plugin + * + * Type: modifier<br> + * Name: spacify<br> * Purpose: add spaces between characters in a string - * ------------------------------------------------------------- + * @link http://smarty.php.net/manual/en/language.modifier.spacify.php + * spacify (Smarty online manual) + * @param string + * @param string + * @return string */ function smarty_modifier_spacify($string, $spacify_char = ' ') { Index: smarty/libs/plugins/modifier.string_format.php diff -u smarty/libs/plugins/modifier.string_format.php:1.3 smarty/libs/plugins/modifier.string_format.php:1.4 --- smarty/libs/plugins/modifier.string_format.php:1.3 Wed Mar 5 18:53:34 2003 +++ smarty/libs/plugins/modifier.string_format.php Sun Apr 20 17:12:11 2003 @@ -1,12 +1,22 @@ <?php - -/* +/** * Smarty plugin - * ------------------------------------------------------------- - * Type: modifier - * Name: string_format + * @package Smarty + * @subpackage plugins + */ + + +/** + * Smarty string_format modifier plugin + * + * Type: modifier<br> + * Name: string_format<br> * Purpose: format strings via sprintf - * ------------------------------------------------------------- + * @link http://smarty.php.net/manual/en/language.modifier.string.format.php + * string_format (Smarty online manual) + * @param string + * @param string + * @return string */ function smarty_modifier_string_format($string, $format) { Index: smarty/libs/plugins/modifier.strip.php diff -u smarty/libs/plugins/modifier.strip.php:1.1 smarty/libs/plugins/modifier.strip.php:1.2 --- smarty/libs/plugins/modifier.strip.php:1.1 Wed Sep 25 11:54:46 2002 +++ smarty/libs/plugins/modifier.strip.php Sun Apr 20 17:12:11 2003 @@ -1,17 +1,27 @@ <?php - -/* +/** * Smarty plugin - * ------------------------------------------------------------- - * Type: modifier - * Name: strip + * @package Smarty + * @subpackage plugins + */ + + +/** + * Smarty strip modifier plugin + * + * Type: modifier<br> + * Name: strip<br> * Purpose: Replace all repeated spaces, newlines, tabs - * with a single space or supplied replacement string. + * with a single space or supplied replacement string.<br> * Example: {$var|strip} {$var|strip:"&nbsp;"} - * Author: Monte Ohrt <monte@ispi.net> - * Version: 1.0 * Date: September 25th, 2002 - * ------------------------------------------------------------- + * @link http://smarty.php.net/manual/en/language.modifier.strip.php + * strip (Smarty online manual) + * @author Monte Ohrt <monte@ispi.net> + * @version 1.0 + * @param string + * @param string + * @return string */ function smarty_modifier_strip($text, $replace = ' ') { Index: smarty/libs/plugins/modifier.strip_tags.php diff -u smarty/libs/plugins/modifier.strip_tags.php:1.3 smarty/libs/plugins/modifier.strip_tags.php:1.4 --- smarty/libs/plugins/modifier.strip_tags.php:1.3 Fri Apr 12 10:48:48 2002 +++ smarty/libs/plugins/modifier.strip_tags.php Sun Apr 20 17:12:11 2003 @@ -1,12 +1,22 @@ <?php - -/* +/** * Smarty plugin - * ------------------------------------------------------------- - * Type: modifier - * Name: strip_tags + * @package Smarty + * @subpackage plugins + */ + + +/** + * Smarty strip_tags modifier plugin + * + * Type: modifier<br> + * Name: strip_tags<br> * Purpose: strip html tags from text - * ------------------------------------------------------------- + * @link http://smarty.php.net/manual/en/language.modifier.strip.tags.php + * strip_tags (Smarty online manual) + * @param string + * @param boolean + * @return string */ function smarty_modifier_strip_tags($string, $replace_with_space = true) {

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