Merge branch 'dev' into feature/test-coverage

Conflicts:
	Mustache.php
This commit is contained in:
Justin Hileman
2010-04-29 20:57:34 -04:00
7 changed files with 214 additions and 2 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
/**
* DotNotation example class. Uses DOT_NOTATION pragma.
*
* @extends Mustache
*/
class DotNotation extends Mustache {
public $person = array(
'name' => array('first' => 'Chris', 'last' => 'Firescythe'),
'age' => 24,
'hometown' => array(
'city' => 'Cincinnati',
'state' => 'OH',
)
);
public $normal = 'Normal';
}
@@ -0,0 +1,5 @@
{{%DOT-NOTATION}}
* {{person.name.first}} {{person.name.last}}
* {{person.age}}
* {{person.hometown.city}}, {{person.hometown.state}}
* {{normal}}
+4
View File
@@ -0,0 +1,4 @@
* Chris Firescythe
* 24
* Cincinnati, OH
* Normal