Streams

You can also use streams to call variables. {$foo:bar} will use the foo://bar stream to get the template variable.

Example 17.8. Stream Variable

Using a PHP stream for a template variable resource from within a template.


{$foo:bar}

  

See also Template Resources