mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-04 08:10:55 +02:00
58 lines
1.4 KiB
XML
58 lines
1.4 KiB
XML
![]() |
<?xml version="1.0" encoding="iso-8859-1"?>
|
||
|
<!-- $Revision$ -->
|
||
|
<refentry id="api.unregister.function">
|
||
|
<refnamediv>
|
||
|
<refname>unregister_function</refname>
|
||
|
<refpurpose>secara dinamis membatalkan registrasi plugin fungsi template</refpurpose>
|
||
|
</refnamediv>
|
||
|
<refsect1>
|
||
|
<title>Deskripsi</title>
|
||
|
<methodsynopsis>
|
||
|
<type>void</type><methodname>unregister_function</methodname>
|
||
|
<methodparam><type>string</type><parameter>name</parameter></methodparam>
|
||
|
</methodsynopsis>
|
||
|
<para>
|
||
|
Mengirimkan fungsi template <parameter>name</parameter>.
|
||
|
</para>
|
||
|
<example>
|
||
|
<title>unregister_function</title>
|
||
|
<programlisting role="php">
|
||
|
<![CDATA[
|
||
|
<?php
|
||
|
|
||
|
// kita tidak menginginkan desainer template harus mengakses file sistem
|
||
|
$smarty->unregister_function('fetch');
|
||
|
|
||
|
?>
|
||
|
]]>
|
||
|
</programlisting>
|
||
|
</example>
|
||
|
|
||
|
<para>
|
||
|
Lihat juga <link linkend="api.register.function">
|
||
|
<varname>register_function()</varname></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
|
||
|
-->
|