php-doc-en/reference/apc/functions/apc-clear-cache.xml
2013-10-29 02:41:45 +00:00

76 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id="function.apc-clear-cache" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>apc_clear_cache</refname>
<refpurpose>
Clears the APC cache
</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>apc_clear_cache</methodname>
<methodparam choice="opt"><type>string</type><parameter>cache_type</parameter><initializer>&quot;&quot;</initializer></methodparam>
</methodsynopsis>
<para>
Clears the user/system cache.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>cache_type</parameter></term>
<listitem>
<para>
If <parameter>cache_type</parameter> is "<literal>user</literal>", the
user cache will be cleared; otherwise, the system cache (cached files)
will be cleared.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns &true; always
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>apc_cache_info</function></member>
</simplelist>
</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:"~/.phpdoc/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
-->