PHP Classes

File: htdocs/xoops_lib/vendor/smarty/smarty/docs/programmers/api-functions/api-unregister-plugin.md

Recommend this page to a friend!
  Packages of Michael Beck   Xoops 2.5   htdocs/xoops_lib/vendor/smarty/smarty/docs/programmers/api-functions/api-unregister-plugin.md   Download  
File: htdocs/xoops_lib/vendor/smarty/smarty/docs/programmers/api-functions/api-unregister-plugin.md
Role: Example script
Content type: text/markdown
Description: Example script
Class: Xoops 2.5
Modular content management publication system
Author: By
Last change:
Date: 2 months ago
Size: 510 bytes
 

Contents

Class file image Download

unregisterPlugin

dynamically unregister plugins

Description

void

unregisterPlugin

string

type

string

name

This method unregisters plugins which previously have been registered by registerPlugin(), It uses the following parameters:

<!-- -->

<?php

// we don't want template designers to have access to function plugin "date_now" 
$smarty->unregisterPlugin("function","date_now");

?>

   

See also registerPlugin().