cvs: smarty /libs/plugins function.html_radios.php function.html_select_date.php function.html_select_time.php function.html_table.php

From: Date: Sun, 20 Apr 2003 21:12:01 +0000
Subject: cvs: smarty /libs/plugins function.html_radios.php function.html_select_date.php function.html_select_time.php function.html_table.php
Groups: php.smarty.cvs 
Request: Send a blank email to php-smarty-cvs+get-546@lists.php.net to get a copy of this message
cellog Sun Apr 20 17:12:01 2003 EDT Modified files: /smarty/libs/plugins function.html_radios.php function.html_select_date.php function.html_select_time.php function.html_table.php Log: updated all doc comments to phpDocumentor format Index: smarty/libs/plugins/function.html_radios.php diff -u smarty/libs/plugins/function.html_radios.php:1.14 smarty/libs/plugins/function.html_radios.php:1.15 --- smarty/libs/plugins/function.html_radios.php:1.14 Mon Apr 14 12:57:40 2003 +++ smarty/libs/plugins/function.html_radios.php Sun Apr 20 17:12:00 2003 @@ -1,26 +1,41 @@ <?php - -/* +/** * Smarty plugin - * ------------------------------------------------------------- - * File: function.html_radios.php - * Type: function - * Name: html_radios - * Version: 1.0 - * Date: 24.Feb.2003 - * Purpose: Prints out a list of radio input types - * Input: name (optional) - string default "radio" - * values (required) - array - * options (optional) - associative array - * checked (optional) - array default not set - * separator (optional) - ie <br> or &nbsp; - * output (optional) - without this one the buttons don't have names - * Author: Christopher Kvarme <christopher.kvarme@flashjab.com> - * Credits: Monte Ohrt <monte@ispi.net> - * Examples: {html_radios values=$ids output=$names} - * {html_radios values=$ids name='box' separator='<br>' output=$names} - * {html_radios values=$ids checked=$checked separator='<br>' output=$names} - * ------------------------------------------------------------- + * @package Smarty + * @subpackage plugins + */ + + +/** + * Smarty {html_radios} function plugin + * + * File: function.html_radios.php<br> + * Type: function<br> + * Name: html_radios<br> + * Date: 24.Feb.2003<br> + * Purpose: Prints out a list of radio input types<br> + * Input:<br> + * - name (optional) - string default "radio" + * - values (required) - array + * - options (optional) - associative array + * - checked (optional) - array default not set + * - separator (optional) - ie <br> or &nbsp; + * - output (optional) - without this one the buttons don't have names + * Examples: + * <pre> + * {html_radios values=$ids output=$names} + * {html_radios values=$ids name='box' separator='<br>' output=$names} + * {html_radios values=$ids checked=$checked separator='<br>' output=$names} + * </pre> + * @link http://smarty.php.net/manual/en/language.function.html.radios.php {html_radios} + * (Smarty online manual) + * @author Christopher Kvarme <christopher.kvarme@flashjab.com> + * @author credits to Monte Ohrt <monte@ispi.net> + * @version 1.0 + * @param array + * @param Smarty + * @return string + * @uses smarty_function_escape_special_chars() */ function smarty_function_html_radios($params, &$smarty) { Index: smarty/libs/plugins/function.html_select_date.php diff -u smarty/libs/plugins/function.html_select_date.php:1.15 smarty/libs/plugins/function.html_select_date.php:1.16 --- smarty/libs/plugins/function.html_select_date.php:1.15 Fri Feb 28 10:08:14 2003 +++ smarty/libs/plugins/function.html_select_date.php Sun Apr 20 17:12:00 2003 @@ -1,23 +1,34 @@ <?php -/* +/** * Smarty plugin - * ------------------------------------------------------------- - * Type: function - * Name: html_select_date - * Version: 1.3 + * @package Smarty + * @subpackage plugins + */ + +/** + * Smarty {html_select_date} plugin + * + * Type: function<br> + * Name: html_select_date<br> * Purpose: Prints the dropdowns for date selection. - * Author: Andrei Zmievski * - * ChangeLog: 1.0 initial release - * 1.1 added support for +/- N syntax for begin + * ChangeLog:<br> + * - 1.0 initial release + * - 1.1 added support for +/- N syntax for begin * and end year values. (Monte) - * 1.2 added support for yyyy-mm-dd syntax for + * - 1.2 added support for yyyy-mm-dd syntax for * time value. (Jan Rosier) - * 1.3 added support for choosing format for + * - 1.3 added support for choosing format for * month values (Gary Loescher) - * 1.3.1 added support for choosing format for + * - 1.3.1 added support for choosing format for * day values (Marcus Bointon) - * ------------------------------------------------------------- + * @link http://smarty.php.net/manual/en/language.function.html.select.date.php {html_select_date} + * (Smarty online manual) + * @version 1.3 + * @author Andrei Zmievski + * @param array + * @param Smarty + * @return string */ function smarty_function_html_select_date($params, &$smarty) { Index: smarty/libs/plugins/function.html_select_time.php diff -u smarty/libs/plugins/function.html_select_time.php:1.9 smarty/libs/plugins/function.html_select_time.php:1.10 --- smarty/libs/plugins/function.html_select_time.php:1.9 Fri Feb 28 10:08:14 2003 +++ smarty/libs/plugins/function.html_select_time.php Sun Apr 20 17:12:00 2003 @@ -1,12 +1,23 @@ <?php - -/* +/** * Smarty plugin - * ------------------------------------------------------------- - * Type: function - * Name: html_select_time + * @package Smarty + * @subpackage plugins + */ + + +/** + * Smarty {html_select_time} function plugin + * + * Type: function<br> + * Name: html_select_time<br> * Purpose: Prints the dropdowns for time selection - * ------------------------------------------------------------- + * @link http://smarty.php.net/manual/en/language.function.html.select.time.php {html_select_time} + * (Smarty online manual) + * @param array + * @param Smarty + * @return string + * @uses smarty_make_timestamp() */ function smarty_function_html_select_time($params, &$smarty) { Index: smarty/libs/plugins/function.html_table.php diff -u smarty/libs/plugins/function.html_table.php:1.3 smarty/libs/plugins/function.html_table.php:1.4 --- smarty/libs/plugins/function.html_table.php:1.3 Wed Mar 19 17:58:23 2003 +++ smarty/libs/plugins/function.html_table.php Sun Apr 20 17:12:00 2003 @@ -1,25 +1,39 @@ <?php - -/* +/** * Smarty plugin - * ------------------------------------------------------------- - * Type: function - * Name: html_table - * Version: 1.0 - * Date: Feb 17, 2003 - * Author: Monte Ohrt <monte@ispi.net> - * Purpose: make an html table from an array of data - * Input: loop = array to loop through - * cols = number of columns - * table_attr = table attributes - * tr_attr = table row attributes (arrays are cycled) - * td_attr = table cell attributes (arrays are cycled) - * trailpad = value to pad trailing cells with + * @package Smarty + * @subpackage plugins + */ + + +/** + * Smarty {html_table} function plugin + * + * Type: function<br> + * Name: html_table<br> + * Date: Feb 17, 2003<br> + * Purpose: make an html table from an array of data<br> + * Input:<br> + * - loop = array to loop through + * - cols = number of columns + * - table_attr = table attributes + * - tr_attr = table row attributes (arrays are cycled) + * - td_attr = table cell attributes (arrays are cycled) + * - trailpad = value to pad trailing cells with * - * Examples: {table loop=$data} - * {$table loop=$data cols=4 tr_attr='"bgcolor=red"'} - * {$table loop=$data cols=4 tr_attr=$colors} - * ------------------------------------------------------------- + * Examples: + * <pre> + * {table loop=$data} + * {table loop=$data cols=4 tr_attr='"bgcolor=red"'} + * {table loop=$data cols=4 tr_attr=$colors} + * </pre> + * @author Monte Ohrt <monte@ispi.net> + * @version 1.0 + * @link http://smarty.php.net/manual/en/language.function.html.table.php {html_table} + * (Smarty online manual) + * @param array + * @param Smarty + * @return string */ function smarty_function_html_table($params, &$smarty) {

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