mirror of
				https://github.com/smarty-php/smarty.git
				synced 2025-11-04 14:21:36 +01:00 
			
		
		
		
	
		
			
	
	
		
			14 lines
		
	
	
		
			283 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
		
		
			
		
	
	
			14 lines
		
	
	
		
			283 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| 
								 | 
							
								# Streams
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								You can also use streams to call variables. *{$foo:bar}* will use the
							 | 
						||
| 
								 | 
							
								*foo://bar* stream to get the template variable.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Using a PHP stream for a template variable resource from within a
							 | 
						||
| 
								 | 
							
								template.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								```smarty
							 | 
						||
| 
								 | 
							
								{$foo:bar}
							 | 
						||
| 
								 | 
							
								```
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								See also [`Template Resources`](../resources.md)
							 |