From b1c3e06144c96b57c3e3107cd2d4fe9cf09b6083 Mon Sep 17 00:00:00 2001 From: Justin Hileman Date: Mon, 29 Mar 2010 14:25:31 -0400 Subject: [PATCH] Added a second example. It's still not enough, but better than nothing. --- README.markdown | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.markdown b/README.markdown index 7097147..108a0a8 100644 --- a/README.markdown +++ b/README.markdown @@ -50,6 +50,24 @@ And render it: echo $m->render($template, $chris); ?> +Here's the same thing, a different way: + + value - ($this->value * 0.4); + } + + public $in_ca = true; + } + + $c = new Chris; + echo $chris->render($template); + ?> + See Also --------