Location: PHPKode > projects > Webgenerator-X content management system > wgx_rc1.5/WG-X/smarty_plugins/modifier.capitalize.php
<?php

/*
 * Smarty plugin
 * -------------------------------------------------------------
 * Type:     modifier
 * Name:     capitalize
 * Purpose:  capitalize words in the string
 * -------------------------------------------------------------
 */
function smarty_modifier_capitalize($string)
{
	return ucwords($string);
}

?>
Return current item: Webgenerator-X content management system