mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-28 02:41:37 +01:00
- implementation of a 'variable' filter as replacement for default modifier
- update of unregister_....filter methods
This commit is contained in:
25
libs/sysplugins/method.getvariablefilter.php
Normal file
25
libs/sysplugins/method.getvariablefilter.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Smarty method getVariableFilter
|
||||
*
|
||||
* get status of filter on variable output
|
||||
*
|
||||
* @package Smarty
|
||||
* @subpackage SmartyMethod
|
||||
* @author Uwe Tews
|
||||
*/
|
||||
|
||||
/**
|
||||
* Smarty class getVariableFilter
|
||||
*
|
||||
* get status of filter on variable output
|
||||
*/
|
||||
class Smarty_Method_getVariableFilter extends Smarty_Internal_Base {
|
||||
public function execute()
|
||||
{
|
||||
return $this->smarty->variable_filter;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user