Name

unregister_function

void unregister_function(string name);

Usatela per eliminare dinamicamente una funzione plugin per i template. Passate il nome della funzione.

Example 13.25. unregister_function


<?php
// non vogliamo che i progettisti del template abbiano accesso al filesystem

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