cvs: smarty /libs/plugins function.mailto.php function.math.php function.popup.php function.popup_init.php modifier.capitalize.php

From: Date: Sun, 20 Apr 2003 21:12:03 +0000
Subject: cvs: smarty /libs/plugins function.mailto.php function.math.php function.popup.php function.popup_init.php modifier.capitalize.php
Groups: php.smarty.cvs 
Request: Send a blank email to php-smarty-cvs+get-547@lists.php.net to get a copy of this message
cellog Sun Apr 20 17:12:03 2003 EDT Modified files: /smarty/libs/plugins function.mailto.php function.math.php function.popup.php function.popup_init.php modifier.capitalize.php Log: updated all doc comments to phpDocumentor format Index: smarty/libs/plugins/function.mailto.php diff -u smarty/libs/plugins/function.mailto.php:1.3 smarty/libs/plugins/function.mailto.php:1.4 --- smarty/libs/plugins/function.mailto.php:1.3 Fri Mar 21 09:36:23 2003 +++ smarty/libs/plugins/function.mailto.php Sun Apr 20 17:12:03 2003 @@ -1,36 +1,50 @@ <?php - -/* +/** * Smarty plugin - * ------------------------------------------------------------- - * Type: function - * Name: mailto - * Version: 1.2 + * @package Smarty + * @subpackage plugins + */ + + +/** + * Smarty {mailto} function plugin + * + * Type: function<br> + * Name: mailto<br> * Date: May 21, 2002 - * Author: Monte Ohrt <monte@ispi.net> - * Credits: Jason Sweat (added cc, bcc and subject functionality) * Purpose: automate mailto address link creation, and optionally - * encode them. - * Input: address = e-mail address - * text = (optional) text to display, default is address - * encode = (optional) can be one of: - * none : no encoding (default) - * javascript : encode with javascript - * hex : encode with hexidecimal (no javascript) - * cc = (optional) address(es) to carbon copy - * bcc = (optional) address(es) to blind carbon copy - * subject = (optional) e-mail subject - * newsgroups = (optional) newsgroup(s) to post to - * followupto = (optional) address(es) to follow up to - * extra = (optional) extra tags for the href link + * encode them.<br> + * Input:<br> + * - address = e-mail address + * - text = (optional) text to display, default is address + * - encode = (optional) can be one of: + * * none : no encoding (default) + * * javascript : encode with javascript + * * hex : encode with hexidecimal (no javascript) + * - cc = (optional) address(es) to carbon copy + * - bcc = (optional) address(es) to blind carbon copy + * - subject = (optional) e-mail subject + * - newsgroups = (optional) newsgroup(s) to post to + * - followupto = (optional) address(es) to follow up to + * - extra = (optional) extra tags for the href link * - * Examples: {mailto address="me@domain.com"} - * {mailto address="me@domain.com" encode="javascript"} - * {mailto address="me@domain.com" encode="hex"} - * {mailto address="me@domain.com" subject="Hello to you!"} - * {mailto address="me@domain.com" cc="you@domain.com,they@domain.com"} - * {mailto address="me@domain.com" extra='class="mailto"'} - * ------------------------------------------------------------- + * Examples: + * <pre> + * {mailto address="me@domain.com"} + * {mailto address="me@domain.com" encode="javascript"} + * {mailto address="me@domain.com" encode="hex"} + * {mailto address="me@domain.com" subject="Hello to you!"} + * {mailto address="me@domain.com" cc="you@domain.com,they@domain.com"} + * {mailto address="me@domain.com" extra='class="mailto"'} + * </pre> + * @link http://smarty.php.net/manual/en/language.function.mailto.php {mailto} + * (Smarty online manual) + * @version 1.2 + * @author Monte Ohrt <monte@ispi.net> + * @author credits to Jason Sweat (added cc, bcc and subject functionality) + * @param array + * @param Smarty + * @return string */ function smarty_function_mailto($params, &$smarty) { Index: smarty/libs/plugins/function.math.php diff -u smarty/libs/plugins/function.math.php:1.6 smarty/libs/plugins/function.math.php:1.7 --- smarty/libs/plugins/function.math.php:1.6 Sat Apr 19 06:32:05 2003 +++ smarty/libs/plugins/function.math.php Sun Apr 20 17:12:03 2003 @@ -1,12 +1,22 @@ <?php - -/* +/** * Smarty plugin - * ------------------------------------------------------------- - * Type: function - * Name: math - * Purpose: handle math computations in template - * ------------------------------------------------------------- + * @package Smarty + * @subpackage plugins + */ + + +/** + * Smarty {math} function plugin + * + * Type: function<br> + * Name: math<br> + * Purpose: handle math computations in template<br> + * @link http://smarty.php.net/manual/en/language.function.math.php {math} + * (Smarty online manual) + * @param array + * @param Smarty + * @return string */ function smarty_function_math($params, &$smarty) { Index: smarty/libs/plugins/function.popup.php diff -u smarty/libs/plugins/function.popup.php:1.8 smarty/libs/plugins/function.popup.php:1.9 --- smarty/libs/plugins/function.popup.php:1.8 Mon Mar 24 04:37:21 2003 +++ smarty/libs/plugins/function.popup.php Sun Apr 20 17:12:03 2003 @@ -1,12 +1,22 @@ <?php - -/* +/** * Smarty plugin - * ------------------------------------------------------------- - * Type: function - * Name: popup + * @package Smarty + * @subpackage plugins + */ + + +/** + * Smarty {popup} function plugin + * + * Type: function<br> + * Name: popup<br> * Purpose: make text pop up in windows via overlib - * ------------------------------------------------------------- + * @link http://smarty.php.net/manual/en/language.function.popup.php {popup} + * (Smarty online manual) + * @param array + * @param Smarty + * @return string */ function smarty_function_popup($params, &$smarty) { Index: smarty/libs/plugins/function.popup_init.php diff -u smarty/libs/plugins/function.popup_init.php:1.7 smarty/libs/plugins/function.popup_init.php:1.8 --- smarty/libs/plugins/function.popup_init.php:1.7 Wed Jan 8 12:34:45 2003 +++ smarty/libs/plugins/function.popup_init.php Sun Apr 20 17:12:03 2003 @@ -1,12 +1,22 @@ <?php - -/* +/** * Smarty plugin - * ------------------------------------------------------------- - * Type: function - * Name: popup_init + * @package Smarty + * @subpackage plugins + */ + + +/** + * Smarty {popup_init} function plugin + * + * Type: function<br> + * Name: popup_init<br> * Purpose: initialize overlib - * ------------------------------------------------------------- + * @link http://smarty.php.net/manual/en/language.function.popup.init.php {popup_init} + * (Smarty online manual) + * @param array + * @param Smarty + * @return string */ function smarty_function_popup_init($params, &$smarty) { Index: smarty/libs/plugins/modifier.capitalize.php diff -u smarty/libs/plugins/modifier.capitalize.php:1.1 smarty/libs/plugins/modifier.capitalize.php:1.2 --- smarty/libs/plugins/modifier.capitalize.php:1.1 Thu Jan 31 15:49:40 2002 +++ smarty/libs/plugins/modifier.capitalize.php Sun Apr 20 17:12:03 2003 @@ -1,12 +1,21 @@ <?php - -/* +/** * Smarty plugin - * ------------------------------------------------------------- - * Type: modifier - * Name: capitalize + * @package Smarty + * @subpackage plugins + */ + + +/** + * Smarty capitalize modifier plugin + * + * Type: modifier<br> + * Name: capitalize<br> * Purpose: capitalize words in the string - * ------------------------------------------------------------- + * @link http://smarty.php.net/manual/en/language.modifiers.php#LANGUAGE.MODIFIER.CAPITALIZE + * capitalize (Smarty online manual) + * @param string + * @return string */ function smarty_modifier_capitalize($string) {

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