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


search for in the  


unregister_function

unregister_function -- dynamically unregister template function plugin

Description

void unregister_function ( string name)

Pass in the template function name.

Example 13-1. unregister_function

<?php

// we don't want template designers to have access to system files
$smarty->unregister_function('fetch');

?>

See also register_function().




 

credits 

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

All rights reserved.