Location: PHPKode > projects > My PHP Baseball Stats > mypbs/include/libs/plugins/modifier.cat.php
<?php

/*
 * Smarty plugin
 * -------------------------------------------------------------
 * Type:     modifier
 * Name:     cat
 * Version:  1.0
 * Date:     Feb 24, 2003
 * Author:	 Monte Ohrt <hide@address.com>
 * Purpose:  catentate a value to a variable
 * Input:    string to catenate
 * Example:  {$var|cat:"foo"}
 * -------------------------------------------------------------
 */
function smarty_modifier_cat($string, $cat)
{
	return $string . $cat;
}

/* vim: set expandtab: */

?>
Return current item: My PHP Baseball Stats