2004-04-13 11:47:32 +00:00
|
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
|
|
|
<!-- $Revision$ -->
|
2005-12-04 20:38:28 +00:00
|
|
|
|
<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready -->
|
|
|
|
|
|
2004-12-26 17:02:12 +00:00
|
|
|
|
<refentry id="api.clear.all.cache">
|
|
|
|
|
<refnamediv>
|
2005-12-04 20:38:28 +00:00
|
|
|
|
<refname>clear_all_cache()</refname>
|
|
|
|
|
<refpurpose>Efface les fichiers de cache des templates</refpurpose>
|
2004-12-26 17:02:12 +00:00
|
|
|
|
</refnamediv>
|
|
|
|
|
<refsect1>
|
2005-12-04 20:38:28 +00:00
|
|
|
|
<title>Description</title>
|
2004-12-26 17:02:12 +00:00
|
|
|
|
<methodsynopsis>
|
|
|
|
|
<type>void</type><methodname>clear_all_cache</methodname>
|
|
|
|
|
<methodparam choice="opt"><type>int</type><parameter>expire_time</parameter></methodparam>
|
|
|
|
|
</methodsynopsis>
|
|
|
|
|
<para>
|
2005-12-04 20:38:28 +00:00
|
|
|
|
Vous pouvez passer un param<61>tre optionnel afin d'indiquer l'<27>ge minimun
|
|
|
|
|
que doivent avoir les fichiers de cache pour qu'ils soient effac<61>s.
|
2004-12-26 17:02:12 +00:00
|
|
|
|
</para>
|
|
|
|
|
<example>
|
|
|
|
|
<title>Exemple avec clear_all_cache</title>
|
|
|
|
|
<programlisting role="php">
|
|
|
|
|
<![CDATA[
|
|
|
|
|
<?php
|
2004-04-13 11:47:32 +00:00
|
|
|
|
// efface le cache
|
2004-12-26 17:02:12 +00:00
|
|
|
|
$smarty->clear_all_cache();
|
|
|
|
|
?>
|
|
|
|
|
]]>
|
|
|
|
|
</programlisting>
|
|
|
|
|
</example>
|
2005-05-25 16:49:34 +00:00
|
|
|
|
<para>
|
|
|
|
|
Voir aussi
|
2005-12-04 20:38:28 +00:00
|
|
|
|
<link linkend="api.clear.cache">clear_cache()</link>,
|
|
|
|
|
<link linkend="api.is.cached">is_cached()</link> et
|
2005-05-25 16:49:34 +00:00
|
|
|
|
le <link linkend="caching">cache</link>.
|
|
|
|
|
</para>
|
2004-12-26 17:02:12 +00:00
|
|
|
|
</refsect1>
|
|
|
|
|
</refentry>
|
2005-12-04 20:38:28 +00:00
|
|
|
|
|
2004-04-13 11:47:32 +00:00
|
|
|
|
<!-- 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
|
2005-12-04 20:38:28 +00:00
|
|
|
|
-->
|