From e99e825c50b7bf6d607bc65a48b00c813ba982f3 Mon Sep 17 00:00:00 2001 From: boots Date: Tue, 24 Aug 2004 06:00:54 +0000 Subject: [PATCH] document new optional parameter for capitalize modifier and update example to show behaviour --- .../language-modifier-capitalize.xml | 38 +++++++++++++++++-- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/docs/en/designers/language-modifiers/language-modifier-capitalize.xml b/docs/en/designers/language-modifiers/language-modifier-capitalize.xml index 2ac751b2..b12fbea8 100644 --- a/docs/en/designers/language-modifiers/language-modifier-capitalize.xml +++ b/docs/en/designers/language-modifiers/language-modifier-capitalize.xml @@ -2,6 +2,34 @@ capitalize + + + + + + + + + + Parameter Position + Type + Required + Default + Description + + + + + 1 + boolean + No + false + This determines whether or not words with + digits will be uppercased + + + + This is used to capitalize the first letter of all words in a variable. @@ -12,7 +40,7 @@ assign('articleTitle', 'Police begin campaign to rundown jaywalkers.'); +$smarty->assign('articleTitle', 'next x-men film, x3, delayed.'); $smarty->display('index.tpl'); ?> @@ -25,6 +53,7 @@ $smarty->display('index.tpl'); @@ -32,8 +61,9 @@ $smarty->display('index.tpl'); @@ -57,4 +87,4 @@ End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> \ No newline at end of file +-->