mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-03 22:01:36 +01:00
sync with EN
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready -->
|
||||
<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready -->
|
||||
|
||||
<sect1 id="plugins.modifiers">
|
||||
<title>Modificateurs</title>
|
||||
<para>
|
||||
Les modificateurs sont des petites fonctions appliqu<71>es <20> une variable
|
||||
Les <link linkend="language.modifiers">modificateurs</link>
|
||||
sont de petites fonctions appliqu<71>es <20> une variable
|
||||
de template avant qu'elle ne soit affich<63>e ou utilis<69>e dans un autre contexte.
|
||||
Les modificateurs peuvent <20>tre cha<68>n<EFBFBD>s entre eux.
|
||||
</para>
|
||||
@@ -22,12 +24,8 @@
|
||||
effectu<74>.
|
||||
</para>
|
||||
<para>
|
||||
Le modificateur doit retourner le r<>sultat de son ex<65>cution.
|
||||
</para>
|
||||
<para>
|
||||
Lisez <20>galement
|
||||
<link linkend="api.register.modifier">register_modifier()</link> et
|
||||
<link linkend="api.unregister.modifier">unregister_modifier()</link>.
|
||||
Le modificateur doit <ulink url="&url.php-manual;return">retourner</ulink>
|
||||
le r<>sultat de son ex<65>cution.
|
||||
</para>
|
||||
<example>
|
||||
<title>Plugin modificateur simple</title>
|
||||
@@ -93,6 +91,11 @@ function smarty_modifier_truncate($string, $length = 80, $etc = '...',
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
<para>
|
||||
Voir aussi :
|
||||
<link linkend="api.register.modifier"><varname>register_modifier()</varname></link> et
|
||||
<link linkend="api.unregister.modifier"><varname>unregister_modifier()</varname></link>.
|
||||
</para>
|
||||
</sect1>
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
|
||||
Reference in New Issue
Block a user