Files
smarty/docs/fr/programmers/api-functions/api-clear-all-cache.xml
2005-12-04 20:38:28 +00:00

59 lines
1.5 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ -->
<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready -->
<refentry id="api.clear.all.cache">
<refnamediv>
<refname>clear_all_cache()</refname>
<refpurpose>Efface les fichiers de cache des templates</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>void</type><methodname>clear_all_cache</methodname>
<methodparam choice="opt"><type>int</type><parameter>expire_time</parameter></methodparam>
</methodsynopsis>
<para>
Vous pouvez passer un paramètre optionnel afin d'indiquer l'âge minimun
que doivent avoir les fichiers de cache pour qu'ils soient effacés.
</para>
<example>
<title>Exemple avec clear_all_cache</title>
<programlisting role="php">
<![CDATA[
<?php
// efface le cache
$smarty->clear_all_cache();
?>
]]>
</programlisting>
</example>
<para>
Voir aussi
<link linkend="api.clear.cache">clear_cache()</link>,
<link linkend="api.is.cached">is_cached()</link> et
le <link linkend="caching">cache</link>.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->