Added more complex dot notation example (from defunkt/mustache).

This commit is contained in:
Justin Hileman
2010-04-23 14:14:06 -04:00
parent d2ff6fa1ac
commit 818a07a64a
2 changed files with 15 additions and 5 deletions
+9 -4
View File
@@ -2,13 +2,18 @@
/**
* DotNotation example class. Uses DOT_NOTATION pragma.
*
*
* @extends Mustache
*/
class DotNotation extends Mustache {
public $foo = array(
'bar' => array(
'baz' => 'Qux',
public $person = array(
'name' => array('first' => 'Chris', 'last' => 'Firescythe'),
'age' => 24,
'hometown' => array(
'city' => 'Cincinnati',
'state' => 'OH',
)
);
public $normal = 'Normal';
}