mirror of
				https://github.com/smarty-php/smarty.git
				synced 2025-11-03 22:01:36 +01:00 
			
		
		
		
	- added $foo@first and $foo@last properties at {for} tag
- added $set_timezone (true/false) property to setup optionally the default time zone
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			417 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			417 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?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;
 | 
						|
    } 
 | 
						|
} 
 | 
						|
 | 
						|
?>
 |