Class Smarty_Internal_Template
Main class with template data structures and methods
- Smarty_Internal_Data
 - 
			
			Smarty_Internal_TemplateBase
			
			
			
		 - 
			
Smarty_Internal_Template			
			
			
		 
Author: Uwe Tews
Located at plugins/smarty/smarty_source/sysplugins/smarty_internal_template.php
			 public 
			
			
			
		 | 
		
		#
		 __construct( string $template_resource, 
		Create template data object Some of the global Smarty settings copied to template scope It load the required template resources and cacher plugins  | 
	
			 public 
			boolean
			
			
		 | 
		
		#
		 mustCompile( )
		Returns if the current template must be compiled by the Smarty compiler It does compare the timestamps of template source and the compiled templates and checks the force compile configuration  | 
	
			 public 
			
			
			
		 | 
		
		#
		 compileTemplateSource( )
		Compiles the template If the template is not evaluated the compiled template is saved on disk  | 
	
			 public 
			boolean
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		
		#
		 getSubTemplate( string $template, mixed $cache_id, mixed $compile_id, integer $caching, integer $cache_lifetime,  $data, integer $parent_scope )
		Template code runtime function to get subtemplate content  | 
	
			 public 
			
			
			
		 | 
		
		#
		 setupInlineSubTemplate( string $template, mixed $cache_id, mixed $compile_id, integer $caching, integer $cache_lifetime,  $data, integer $parent_scope, string $hash )
		Template code runtime function to set up an inline subtemplate  | 
	
			 public 
			string
			
			
		 | 
		
		#
		 createTemplateCodeFrame( string $content = '', boolean $cache = false )
		Create code frame for compiled and cached templates  | 
	
			 public 
			boolean
			
			
		 | 
		
		#
		 decodeProperties( array $properties, boolean $cache = false )
		This function is executed automatically when a compiled or cached template file is included - Decode saved properties from compiled template and cache files - Check if compiled or cache file is valid  | 
	
			 public 
			
			
			
		 | 
		
		#
		 createLocalArrayVariable( string $tpl_var, boolean $nocache = false, integer $scope = 
		Template code runtime function to create a local Smarty variable for array assignments  | 
	
			 public 
			array
			&
			
		 | 
		|
			 public 
			mixed
			
			
		 | 
		|
			 public 
			integer
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			integer
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		|
			 public 
			
			
			
		 | 
		
			public  
			string
		 | 
		
				$cache_id
			 cache_id  | 
		
			 
				#
				 
		null
			 | 
	
			public  
			string
		 | 
		
				$compile_id
			 $compile_id  | 
		
			 
				#
				 
		null
			 | 
	
			public  
			boolean
		 | 
		
				$caching
			 caching enabled  | 
		
			 
				#
				 
		null
			 | 
	
			public  
			integer
		 | 
		
				$cache_lifetime
			 cache lifetime in seconds  | 
		
			 
				#
				 
		null
			 | 
	
			public  
			string
		 | 
		
				$template_resource
			 Template resource  | 
		
			 
				#
				 
		null
			 | 
	
			public  
			boolean
		 | 
		
				$mustCompile
			 flag if compiled template is invalid and must be (re)compiled  | 
		
			 
				#
				 
		null
			 | 
	
			public  
			boolean
		 | 
		
				$has_nocache_code
			 flag if template does contain nocache code sections  | 
		
			 
				#
				 
		false
			 | 
	
			public  
			array
		 | 
		
				$properties
			 special compiled and cached template properties  | 
		
			 
				#
				 
		array('file_dependency' => array(),
                           'nocache_hash'    => '',
                           'function'        => array())
			 | 
	
			public  
			array
		 | 
		
				$required_plugins
			 required plugins  | 
		
			 
				#
				 
		array('compiled' => array(), 'nocache' => array())
			 | 
	
			public  
			 | 
		
				$smarty
			 Global smarty instance  | 
		
			 
				#
				 
		null
			 | 
	
			public  
			array
		 | 
		
				$block_data
			 blocks for template inheritance  | 
		
			 
				#
				 
		array()
			 | 
	
			public  
			array
		 | 
		
				$variable_filters
			 variable filters  | 
		
			 
				#
				 
		array()
			 | 
	
			public  
			array
		 | 
		
				$used_tags
			 optional log of tag/attributes  | 
		
			 
				#
				 
		array()
			 | 
	
			public  
			boolean
		 | 
		
				$allow_relative_path
			 internal flag to allow relative path in child template blocks  | 
		
			 
				#
				 
		false
			 | 
	
			public  
			array
		 | 
		
				$_capture_stack
			 internal capture runtime stack  | 
		
			 
				#
				 
		array(0 => array())
			 | 
	
			$config_vars, 
			$parent, 
			$template_class, 
			$tpl_vars
		 | 
	
			public  
			 | 
		
				$source
			 | 
	
			public  
			 | 
		
				$compiled
			 | 
	
			public  
			 | 
		
				$cached
			 |