Smarty Icon

You may use the Smarty logo according to the trademark notice.

Smarty Template Engine Smarty Template Engine

For sponsorship, advertising, news or other inquiries, contact us at:

Sites Using Smarty

Advertisement

Name

unregister_function() — des-registrar dinámicamente una función de plugin del template

Descripción

void unregister_function(string name);

Pase en el template el nombre de la función.

Example 13.27. unregister_function()


<?php
// nosotros no queremos que el dise&ntilde;ador del template tenga acceso a
// nuestros archivos de sistema

$smarty->unregister_function("fetch");
?>

   

Ver también register_function() .