smarty template engine
Thursday, November 20, 2008  
download | documentation | faq | forum | mailing lists | changelog | contribs 


search for in the  


unregister_function()

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.

Ejemplo 13-1. 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() .




 

credits 

Smarty Copyright © 2002-2008
New Digital Group, Inc.

All rights reserved.