mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-02 05:11:36 +01:00
- added setter/getter methodes
- added $foo@first and $foo@last properties at {for} tag
- added $set_timezone (true/false) property to setup optionally the default time zone
This commit is contained in:
25
libs/sysplugins/method.enableconfigbooleanize.php
Normal file
25
libs/sysplugins/method.enableconfigbooleanize.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Smarty method enableConfigBooleanize
|
||||
*
|
||||
* Enable config booleanize mode
|
||||
*
|
||||
* @package Smarty
|
||||
* @subpackage SmartyMethod
|
||||
* @author Uwe Tews
|
||||
*/
|
||||
|
||||
/**
|
||||
* Smarty class enableConfigBooleanize
|
||||
*
|
||||
* Enable config booleanize mode
|
||||
*/
|
||||
class Smarty_Method_enableConfigBooleanize extends Smarty_Internal_Base {
|
||||
public function execute()
|
||||
{
|
||||
return $this->smarty->config_booleanize = true;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user