2004-04-13 11:47:32 +00:00
|
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
|
|
|
|
<!-- $Revision$ -->
|
2006-10-07 21:01:42 +00:00
|
|
|
|
<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready -->
|
2005-12-05 21:15:38 +00:00
|
|
|
|
|
2004-12-26 17:02:12 +00:00
|
|
|
|
<refentry id="api.register.compiler.function">
|
|
|
|
|
|
<refnamediv>
|
2005-12-05 21:15:38 +00:00
|
|
|
|
<refname>register_compiler_function()</refname>
|
|
|
|
|
|
<refpurpose>D<EFBFBD>clare dynamiquement un plugin de fonction de compilation</refpurpose>
|
2004-12-26 17:02:12 +00:00
|
|
|
|
</refnamediv>
|
|
|
|
|
|
<refsect1>
|
2005-12-05 21:15:38 +00:00
|
|
|
|
<title>Description</title>
|
2004-12-26 17:02:12 +00:00
|
|
|
|
<methodsynopsis>
|
|
|
|
|
|
<type>bool</type><methodname>register_compiler_function</methodname>
|
|
|
|
|
|
<methodparam><type>string</type><parameter>name</parameter></methodparam>
|
|
|
|
|
|
<methodparam><type>mixed</type><parameter>impl</parameter></methodparam>
|
|
|
|
|
|
<methodparam><type>bool</type><parameter>cacheable</parameter></methodparam>
|
|
|
|
|
|
</methodsynopsis>
|
|
|
|
|
|
<para>
|
2005-12-05 21:15:38 +00:00
|
|
|
|
Il faut passer en param<61>tres le nom de la <link linkend="plugins.compiler.functions">fonction
|
|
|
|
|
|
de compilation</link>, suivi par la fonction PHP qui l'impl<70>mente.
|
2004-12-26 17:02:12 +00:00
|
|
|
|
</para>
|
2006-10-07 21:01:42 +00:00
|
|
|
|
&api.register.snippet;
|
2004-12-26 17:02:12 +00:00
|
|
|
|
<para>
|
|
|
|
|
|
Le param<61>tre <parameter>cacheable</parameter> peut <20>tre omis dans la
|
|
|
|
|
|
plupart des cas. Voir <link
|
|
|
|
|
|
linkend="caching.cacheable">Contr<74>ler la mise en cache des sorties des Plugins</link>
|
|
|
|
|
|
pour plus d'informations concernant cette utilisation.
|
|
|
|
|
|
</para>
|
2005-12-05 21:15:38 +00:00
|
|
|
|
<para>
|
|
|
|
|
|
Voir aussi
|
2006-10-07 21:01:42 +00:00
|
|
|
|
<link linkend="api.unregister.compiler.function">
|
|
|
|
|
|
<varname>unregister_compiler_function()</varname></link> et
|
2005-12-05 21:15:38 +00:00
|
|
|
|
les <link linkend="plugins.compiler.functions">plugins de fonction de compilation</link>.
|
|
|
|
|
|
</para>
|
2004-12-26 17:02:12 +00:00
|
|
|
|
</refsect1>
|
|
|
|
|
|
</refentry>
|
2005-12-05 21:15:38 +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-05 21:15:38 +00:00
|
|
|
|
-->
|