Fixed missing tags to make doc again

This commit is contained in:
gerald
2004-07-02 22:30:34 +00:00
parent bd790b782a
commit 0e72bcadf0
3 changed files with 19 additions and 26 deletions

View File

@@ -55,7 +55,7 @@
vous avez besoin de mettre une de vos fonction en quarantaine vis <20> vis du
r<>pertoire des plugins ou de votre application. Reportez vous <20>
l'exemple des <link
linkend="tips.componentized.templates"> templates composants</links>
linkend="tips.componentized.templates"> templates composants</link>
pour plus de d<>tails.
</para>
</note>

View File

@@ -73,7 +73,7 @@
<entry>bool<EFBFBD>en</entry>
<entry>Non</entry>
<entry><emphasis>true</emphasis></entry>
<entry>ajoute la balise &lt;label&gt;- <20> la sortie/entry>
<entry>ajoute la balise &lt;label&gt;- <20> la sortie</entry>
</row>
</tbody>
</tgroup>

View File

@@ -1,26 +1,22 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ -->
<!-- EN-Revision: 1.3 Maintainer: gerald Status: partial -->
<refentry id="api.is.cached">
<refnamediv>
<refname>is_cached</refname>
<refpurpose></refpurpose>
</refnamediv>
<refsect1>
<title />
<methodsynopsis>
<type>bool</type><methodname>is_cached</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>
<sect1 id="api.is.cached">
<title>is_cached</title>
<funcsynopsis>
<funcprototype>
<funcdef>void <function>is_cached</function></funcdef>
<paramdef>string <parameter>template</parameter></paramdef>
<paramdef>[string <parameter>cache_id</parameter>]</paramdef>
</funcprototype>
</funcsynopsis>
<para>
Retourne vrai s'il y a un fichier de cache valide pour ce template.
Cela fonctionne seulement si <link
linkend="variable.caching">caching</link> est a vrai.
</para>
<example>
<title>is_cached</title>
</para>
<example>
<title>is_cached</title>
<programlisting role="php">
<![CDATA[
<?php
@@ -34,7 +30,7 @@ $smarty->display("index.tpl");
?>
]]>
</programlisting>
</example>
</example>
<para>
Vous pouvez aussi passer en second param<61>tre un identifiant
de cache au cas o<> vous voudriez plusieurs fichiers de cache
@@ -49,7 +45,7 @@ $smarty->display("index.tpl");
Si vous voulez utiliser un identifiant de compilation sans utilisez d'identifiant de cache,
mettez <literal>null</literal> pour l'identifiant de cache.
</para>
<example>
<example>
<title>is_cached avec plusieurs templates</title>
<programlisting role="php">
<![CDATA[
@@ -64,9 +60,7 @@ $smarty->display("index.tpl", "FrontPage");
?>
]]>
</programlisting>
</example>
</example>
<note>
<title>Note technique</title>
<para>
@@ -80,8 +74,7 @@ $smarty->display("index.tpl", "FrontPage");
<20> retourn<72> vrai.
</para>
</note>
</refsect1>
</refentry>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml