diff --git a/docs/fr/designers/language-modifiers/language-modifier-capitalize.xml b/docs/fr/designers/language-modifiers/language-modifier-capitalize.xml index 1980ca65..b8a5b79b 100644 --- a/docs/fr/designers/language-modifiers/language-modifier-capitalize.xml +++ b/docs/fr/designers/language-modifiers/language-modifier-capitalize.xml @@ -1,6 +1,6 @@ - + capitalize @@ -8,22 +8,32 @@ capitalize - -index.php: + +assign('articleTitle', 'Police begin campaign to rundown jaywalkers.'); +$smarty->display('index.tpl'); +?> +]]> + + + Where index.tpl is: + + + + + + +La Police Commence Une Campagne De Sensibilisation Contre La Violence Routière. +]]> + - + cat @@ -35,20 +35,31 @@ cat - -index.php: - + + +$smarty->assign('articleTitle', "'Les devins ont prévus que le monde existera toujours"); +$smarty->display('index.tpl'); +?> +]]> + + + Ou index.tpl est: + + + + + + Donne à l'écran: + + + + - + count_characters + + + + + + + + + + Position du paramètre + Type + Requis + Defaut + Description + + + + + 1 + boolean + Non + false + Si l'on doit inclure les espaces dans le compte. + + + + Compte le nombre de caractères dans une variable. count_characters - -index.php: + +assign('titreArticle', 'Vagues de froid liées à la température.'); +$smarty->display('index.tpl'); +?> +]]> + + + Ou index.tpl est: + + + + + + Ce qui donne en sortie : + + + +]]> + - + count_paragraphs @@ -8,22 +8,30 @@ count_paragraphs - -index.php: - + + +]]> + + + Ou index.tpl est: + + + + + + +1 +]]> + - + count_sentences @@ -8,26 +8,38 @@ count_sentences - -index.php: - + +assign('TitreArticle', 'Deux navires rentrent en collision - Un des deux coule. Des vaches enragées blessent un fermier à coups de haches.'); -$smarty->display('index.tpl'); - -index.tpl: - +$smarty->display('index.tpl'); +?> +]]> + + + Where index.tpl is: + + + + + + Donne à l'écran: + + + +2 +]]> + - + count_words @@ -8,22 +8,35 @@ count_words - -index.php: + +assign('TitreArticle', 'Un anneau pour les gouverner tous.'); +$smarty->display('index.tpl'); +?> +]]> + + + Ou index.tpl est: + + + + + + Donne à l'écran: + + + +6 +]]> +