summaryrefslogtreecommitdiff
path: root/docs/api/variables/streams.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api/variables/streams.md')
-rw-r--r--docs/api/variables/streams.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/api/variables/streams.md b/docs/api/variables/streams.md
new file mode 100644
index 00000000..93d5c15e
--- /dev/null
+++ b/docs/api/variables/streams.md
@@ -0,0 +1,13 @@
+# 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)