upper

úÁÍÅÎÑÅÔ ×ÓÅ ÍÁÌÅÎØËÉÅ ÂÕË×Ù ÎÁ ÂÏÌØÛÉÅ.

Пример 5-22. upper

index.php:

$smarty = new Smarty;
$smarty->assign('articleTitle', "If Strike isn't Settled Quickly it may Last a While.");
$smarty->display('index.tpl');

index.tpl:

{$articleTitle}
{$articleTitle|upper}

OUTPUT:

If Strike isn't Settled Quickly it may Last a While.
IF STRIKE ISN'T SETTLED QUICKLY IT MAY LAST A WHILE.