smarty: plugin
<?php
/**
* Smarty {name} plugin
*
* Type: function
* Name: {name}
*
* Install: Drop into the plugin directory
*
* @author Author Name <authoremail>
* @version 1.0.0
* @param array $params
* @param Smarty $smarty
*/
function smarty_function_{name}($params, &$smarty)
{
}