From d2ff6fa1accb292ceeb1d1f46af410f33adae532 Mon Sep 17 00:00:00 2001 From: Justin Hileman Date: Fri, 23 Apr 2010 13:46:39 -0400 Subject: [PATCH] Example for dot notation pragma. --- examples/dot_notation/DotNotation.php | 14 ++++++++++++++ examples/dot_notation/dot_notation.mustache | 1 + examples/dot_notation/dot_notation.txt | 1 + 3 files changed, 16 insertions(+) create mode 100644 examples/dot_notation/DotNotation.php create mode 100644 examples/dot_notation/dot_notation.mustache create mode 100644 examples/dot_notation/dot_notation.txt diff --git a/examples/dot_notation/DotNotation.php b/examples/dot_notation/DotNotation.php new file mode 100644 index 0000000..d5f1dd0 --- /dev/null +++ b/examples/dot_notation/DotNotation.php @@ -0,0 +1,14 @@ + array( + 'baz' => 'Qux', + ) + ); +} diff --git a/examples/dot_notation/dot_notation.mustache b/examples/dot_notation/dot_notation.mustache new file mode 100644 index 0000000..85873f7 --- /dev/null +++ b/examples/dot_notation/dot_notation.mustache @@ -0,0 +1 @@ +Grandchild is "{{foo.bar.baz}}". \ No newline at end of file diff --git a/examples/dot_notation/dot_notation.txt b/examples/dot_notation/dot_notation.txt new file mode 100644 index 0000000..c7b8cd2 --- /dev/null +++ b/examples/dot_notation/dot_notation.txt @@ -0,0 +1 @@ +Grandchild is "Qux". \ No newline at end of file