Get Smarty

Donate

Paypal

Smarty Icon

You may use the Smarty logo according to the trademark notice.

Smarty Template Engine Smarty Template Engine

For sponsorship, advertising, news or other inquiries, contact us at:

Sites Using Smarty

Advertisement

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

Comments
No comments for this page.

Advertisement