mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54:27 +02:00
Fixed missing tags to make doc again
This commit is contained in:
@@ -55,7 +55,7 @@
|
|||||||
vous avez besoin de mettre une de vos fonction en quarantaine vis <20> vis du
|
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>
|
r<>pertoire des plugins ou de votre application. Reportez vous <20>
|
||||||
l'exemple des <link
|
l'exemple des <link
|
||||||
linkend="tips.componentized.templates"> templates composants</links>
|
linkend="tips.componentized.templates"> templates composants</link>
|
||||||
pour plus de d<>tails.
|
pour plus de d<>tails.
|
||||||
</para>
|
</para>
|
||||||
</note>
|
</note>
|
||||||
|
@@ -73,7 +73,7 @@
|
|||||||
<entry>bool<EFBFBD>en</entry>
|
<entry>bool<EFBFBD>en</entry>
|
||||||
<entry>Non</entry>
|
<entry>Non</entry>
|
||||||
<entry><emphasis>true</emphasis></entry>
|
<entry><emphasis>true</emphasis></entry>
|
||||||
<entry>ajoute la balise <label>- <20> la sortie/entry>
|
<entry>ajoute la balise <label>- <20> la sortie</entry>
|
||||||
</row>
|
</row>
|
||||||
</tbody>
|
</tbody>
|
||||||
</tgroup>
|
</tgroup>
|
||||||
|
@@ -1,26 +1,22 @@
|
|||||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
<!-- $Revision$ -->
|
<!-- $Revision$ -->
|
||||||
<!-- EN-Revision: 1.3 Maintainer: gerald Status: partial -->
|
<!-- EN-Revision: 1.3 Maintainer: gerald Status: partial -->
|
||||||
<refentry id="api.is.cached">
|
<sect1 id="api.is.cached">
|
||||||
<refnamediv>
|
<title>is_cached</title>
|
||||||
<refname>is_cached</refname>
|
<funcsynopsis>
|
||||||
<refpurpose></refpurpose>
|
<funcprototype>
|
||||||
</refnamediv>
|
<funcdef>void <function>is_cached</function></funcdef>
|
||||||
<refsect1>
|
<paramdef>string <parameter>template</parameter></paramdef>
|
||||||
<title />
|
<paramdef>[string <parameter>cache_id</parameter>]</paramdef>
|
||||||
<methodsynopsis>
|
</funcprototype>
|
||||||
<type>bool</type><methodname>is_cached</methodname>
|
</funcsynopsis>
|
||||||
<methodparam><type>string</type><parameter>template</parameter></methodparam>
|
<para>
|
||||||
<methodparam choice="opt"><type>string</type><parameter>cache_id</parameter></methodparam>
|
|
||||||
<methodparam choice="opt"><type>string</type><parameter>compile_id</parameter></methodparam>
|
|
||||||
</methodsynopsis>
|
|
||||||
<para>
|
|
||||||
Retourne vrai s'il y a un fichier de cache valide pour ce template.
|
Retourne vrai s'il y a un fichier de cache valide pour ce template.
|
||||||
Cela fonctionne seulement si <link
|
Cela fonctionne seulement si <link
|
||||||
linkend="variable.caching">caching</link> est a vrai.
|
linkend="variable.caching">caching</link> est a vrai.
|
||||||
</para>
|
</para>
|
||||||
<example>
|
<example>
|
||||||
<title>is_cached</title>
|
<title>is_cached</title>
|
||||||
<programlisting role="php">
|
<programlisting role="php">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
<?php
|
<?php
|
||||||
@@ -34,7 +30,7 @@ $smarty->display("index.tpl");
|
|||||||
?>
|
?>
|
||||||
]]>
|
]]>
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</example>
|
</example>
|
||||||
<para>
|
<para>
|
||||||
Vous pouvez aussi passer en second param<61>tre un identifiant
|
Vous pouvez aussi passer en second param<61>tre un identifiant
|
||||||
de cache au cas o<> vous voudriez plusieurs fichiers de cache
|
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,
|
Si vous voulez utiliser un identifiant de compilation sans utilisez d'identifiant de cache,
|
||||||
mettez <literal>null</literal> pour l'identifiant de cache.
|
mettez <literal>null</literal> pour l'identifiant de cache.
|
||||||
</para>
|
</para>
|
||||||
<example>
|
<example>
|
||||||
<title>is_cached avec plusieurs templates</title>
|
<title>is_cached avec plusieurs templates</title>
|
||||||
<programlisting role="php">
|
<programlisting role="php">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
@@ -64,9 +60,7 @@ $smarty->display("index.tpl", "FrontPage");
|
|||||||
?>
|
?>
|
||||||
]]>
|
]]>
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</example>
|
</example>
|
||||||
|
|
||||||
|
|
||||||
<note>
|
<note>
|
||||||
<title>Note technique</title>
|
<title>Note technique</title>
|
||||||
<para>
|
<para>
|
||||||
@@ -80,8 +74,7 @@ $smarty->display("index.tpl", "FrontPage");
|
|||||||
<20> retourn<72> vrai.
|
<20> retourn<72> vrai.
|
||||||
</para>
|
</para>
|
||||||
</note>
|
</note>
|
||||||
</refsect1>
|
</sect1>
|
||||||
</refentry>
|
|
||||||
<!-- Keep this comment at the end of the file
|
<!-- Keep this comment at the end of the file
|
||||||
Local variables:
|
Local variables:
|
||||||
mode: sgml
|
mode: sgml
|
||||||
|
Reference in New Issue
Block a user