Files
Mustache/examples/implicit_iterator/ImplicitIterator.php
T
Justin Hileman 20ace3e74c Implemented implicit iterator pragma.
Fixed getPragmaOptions to return empty array if no options are set.
Fixed getVariable to return exact variable name matches before dot notation matches (i.e. the default iterator -- '.' -- will match the iterator and not try to do some crazy dot notation parsing.
2010-04-29 22:49:50 -04:00

5 lines
127 B
PHP

<?php
class ImplicitIterator extends Mustache {
protected $data = array('Donkey Kong', 'Luigi', 'Mario', 'Peach', 'Yoshi');
}