mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-03 05:41:37 +01:00
- added all major setter/getter methodes
This commit is contained in:
25
libs/sysplugins/method.disablecaching.php
Normal file
25
libs/sysplugins/method.disablecaching.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Smarty method disableCaching
|
||||
*
|
||||
* Disable caching
|
||||
*
|
||||
* @package Smarty
|
||||
* @subpackage SmartyMethod
|
||||
* @author Uwe Tews
|
||||
*/
|
||||
|
||||
/**
|
||||
* Smarty class disableCaching
|
||||
*
|
||||
* Disable caching
|
||||
*/
|
||||
class Smarty_Method_DisableCaching extends Smarty_Internal_Base {
|
||||
public function execute()
|
||||
{
|
||||
return $this->smarty->caching = false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user