mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-29 13:59:28 +01:00
Feature/add docs (#689)
* Add converted docs repo * Set theme jekyll-theme-minimal * Removed BC docs, added TOC * Added TOCs, rewrote most important links in documentation. Linked README to new Github Pages site * some link fixes
This commit is contained in:
36
docs/programmers/api-functions/api-unregister-plugin.md
Normal file
36
docs/programmers/api-functions/api-unregister-plugin.md
Normal file
@@ -0,0 +1,36 @@
|
||||
unregisterPlugin
|
||||
|
||||
dynamically unregister plugins
|
||||
|
||||
Description
|
||||
===========
|
||||
|
||||
void
|
||||
|
||||
unregisterPlugin
|
||||
|
||||
string
|
||||
|
||||
type
|
||||
|
||||
string
|
||||
|
||||
name
|
||||
|
||||
This method unregisters plugins which previously have been registered by
|
||||
[registerPlugin()](#api.register.plugin), 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()`](#api.register.plugin).
|
||||
Reference in New Issue
Block a user