Files
smarty/docs/es/programmers/api-functions/api-unregister-function.xml

56 lines
1.4 KiB
XML
Raw Normal View History

2004-10-07 18:50:52 +00:00
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ -->
<refentry id="api.unregister.function">
<refnamediv>
<refname>unregister_function()</refname>
<refpurpose>des-registrar din<69>micamente una funci<63>n de plugin del template</refpurpose>
2004-10-07 18:50:52 +00:00
</refnamediv>
<refsect1>
<title> Descripci<63>n</title>
2004-10-07 18:50:52 +00:00
<methodsynopsis>
<type>void</type><methodname>unregister_function</methodname>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
</methodsynopsis>
<para>
Pase en el template el nombre de la funci<63>n.
2004-10-07 18:50:52 +00:00
</para>
<example>
<title>unregister_function()</title>
2004-10-07 18:50:52 +00:00
<programlisting role="php">
<![CDATA[
<?php
// nosotros no queremos que el dise&ntilde;ador del template tenga acceso a
// nuestros archivos de sistema
$smarty->unregister_function("fetch");
?>
]]>
</programlisting>
</example>
<para>
Ver tambi<62>n <link linkend="api.register.function">register_function() </link>.
</para>
2004-10-07 18:50:52 +00:00
</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
-->