mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54:27 +02:00
make fr compile again
This commit is contained in:
@@ -216,15 +216,13 @@ $smarty->clear_assign(array("Name","Address","Zip"));</programlisting>
|
||||
</sect1>
|
||||
<sect1 id="api.clear.cache">
|
||||
<title>clear_cache</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>void <function>clear_cache</function></funcdef>
|
||||
<paramdef>string <parameter>template</parameter></paramdef>
|
||||
<paramdef>string <parameter><optional>cache id</optional></parameter></paramdef>
|
||||
<paramdef>string <parameter><optional>compile id</optional></parameter></paramdef>
|
||||
<paramdef>int <parameter><optional>expire time</optional></parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<methodsynopsis>
|
||||
<type>void</type><methodname>clear_cache</methodname>
|
||||
<methodparam choice="opt"><type>string</type><parameter>template</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>cache id</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>compile id</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>expire time</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
UtilisTe pour nettoyer le(s) fichier(s) de cache d'un template en particulier.
|
||||
Si vous avez plusieurs fichiers de cache pour ce template vous
|
||||
@@ -273,12 +271,10 @@ $smarty->clear_compiled_tpl();</programlisting>
|
||||
</sect1>
|
||||
<sect1 id="api.clear.config">
|
||||
<title>clear_config</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>void <function>clear_config</function></funcdef>
|
||||
<paramdef>string <parameter><optional>var</optional></parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<methodsynopsis>
|
||||
<type>void</type><methodname>clear_config</methodname>
|
||||
<methodparam choice="opt"><type>string</type><parameter>var</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
UtilisTe pour effacer toutes les variables de configuration s'Ttant
|
||||
vues assigner une valeur. Si une variable est spTcifiTe, seule cette
|
||||
@@ -296,13 +292,11 @@ $smarty->clear_config('foobar');</programlisting>
|
||||
</sect1>
|
||||
<sect1 id="api.config.load">
|
||||
<title>config_load</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>void <function>config_load</function></funcdef>
|
||||
<paramdef>string <parameter>file</parameter></paramdef>
|
||||
<paramdef>string <parameter><optional>section</optional></parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<methodsynopsis>
|
||||
<type>void</type><methodname>config_load</methodname>
|
||||
<methodparam><type>string</type><parameter>file</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>section</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
UtilisTe pour charger des donnTes d'un fichier de config et les
|
||||
assigner a un template. Cette fonction fonctionne exactement comme
|
||||
@@ -333,14 +327,12 @@ $smarty->config_load('my.conf','foobar');</programlisting>
|
||||
</sect1>
|
||||
<sect1 id="api.display">
|
||||
<title>display</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>void <function>display</function></funcdef>
|
||||
<paramdef>string <parameter>template</parameter></paramdef>
|
||||
<paramdef>string <parameter><optional>cache_id</optional></parameter></paramdef>
|
||||
<paramdef>string <parameter><optional>compile_id</optional></parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<methodsynopsis>
|
||||
<type>void</type><methodname>display</methodname>
|
||||
<methodparam><type>string</type><parameter>template</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>cache_id</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>compile_id</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
UtilisTe pour afficher un template. Il faut fournir un type et un
|
||||
chemin de <link
|
||||
@@ -415,14 +407,12 @@ $smarty->display("db:header.tpl");</programlisting>
|
||||
</sect1>
|
||||
<sect1 id="api.fetch">
|
||||
<title>fetch</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>string <function>fetch</function></funcdef>
|
||||
<paramdef>string <parameter>template</parameter></paramdef>
|
||||
<paramdef>string <parameter><optional>cache_id</optional></parameter></paramdef>
|
||||
<paramdef>string <parameter><optional>compile_id</optional></parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>fetch</methodname>
|
||||
<methodparam><type>string</type><parameter>template</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>cache_id</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>compile_id</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
UtilisTe pour renvoyer le rTsultat du template plut(t que de l'afficher.
|
||||
Il faut passer un type et un chemin de <link
|
||||
@@ -479,12 +469,10 @@ echo $output;</programlisting>
|
||||
</sect1>
|
||||
<sect1 id="api.get.config.vars">
|
||||
<title>get_config_vars</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>array <function>get_config_vars</function></funcdef>
|
||||
<paramdef>string <parameter><optional>varname</optional></parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>get_config_vars</methodname>
|
||||
<methodparam choice="opt"><type>string</type><parameter>varname</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Retourne la valeur de la variable de configuration passTe en paramFtre.
|
||||
Si aucun paramFtre n'est donnT, un tableau de toutes les variables de
|
||||
@@ -530,12 +518,10 @@ function smarty_block_foo($params, &$smarty) {
|
||||
</sect1>
|
||||
<sect1 id="api.get.template.vars">
|
||||
<title>get_template_vars</title>
|
||||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>array <function>get_template_vars</function></funcdef>
|
||||
<paramdef>string <parameter><optional>varname</optional></parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>get_template_vars</methodname>
|
||||
<methodparam choice="opt"><type>string</type><parameter>varname</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Retourne la valeur assignTe passTe en paramFtre. Si aucun paramFtre
|
||||
n'est donnT, un tableau de toutes les variables assignTes est
|
||||
|
Reference in New Issue
Block a user