Files
smarty/docs/id/programmers/api-functions/api-register-compiler-function.xml

59 lines
1.7 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ -->
<refentry id="api.register.compiler.function">
<refnamediv>
<refname>register_compiler_function()</refname>
<refpurpose>secara dinamis meregistrasi plugins fungsi kompilator</refpurpose>
</refnamediv>
<refsect1>
<title>Deskripsi</title>
<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>
Mengirimkan nama
<link linkend="plugins.compiler.functions">fungsi kompilator</link>,
diikuti oleh fungsi PHP yang mengimplementasikannya.
</para>
&api.register.snippet;
<para>
<parameter>cacheable</parameter> dapat diabaikan. Lihat
<link linkend="caching.cacheable">mengontrol output plugin
yang dapat di-cache</link> atas bagaimana untuk menggunakannya dengan benar.
</para>
<para>
Lihat juga
<link linkend="api.unregister.compiler.function">
<varname>unregister_compiler_function()</varname></link>
dan seksi
<link linkend="plugins.compiler.functions">fungsi kompilator plugin</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
-->