0
I Use This!
Very Low Activity

Commits : Listings

Analyzed about 13 hours ago. based on code collected about 24 hours ago.
May 14, 2023 — May 14, 2024
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Update README to reflect preferred mustache class implementation. Rendering arbitrary generic view class/array and template is secondary. More... about 14 years ago
Two new examples: 'delimiters' and 'sections'. Would be more exciting if 50% of new examples didn't fail :) More... about 14 years ago
Added known issue for complex complex example failure. More... about 14 years ago
Added 'known issues' to readme. More... about 14 years ago
Complex example was a direct port of ruby/javascript complex example, resulting in some methods named with PHP reserved keywords. Fixing that oversight. More... about 14 years ago
Fixed trailing newline in simple example output. More... about 14 years ago
Adding examples. More... about 14 years ago
Added default template name based on underscorified class name. I.e. a class named FooBarBaz would try to load a template named foo_bar_baz.mustache in the current directory. More... about 14 years ago
Changed 'file' variable name to more appropriate 'name' variable. More... about 14 years ago
Fixed RegEx used in changeDelimiter call to match initial RegEx string. This doesn't really need the section tag modifiers (# and /) but they are included here for consistency. More... about 14 years ago
Added a second example. It's still not enough, but better than nothing. More... about 14 years ago
Added TraversableMustache, a Mustache subclass that allows traversal of variables via dots... they approximately map to ->, as in ->bar->baz means the same thing as {{foo.bar.baz}} More... about 14 years ago
Added HandlebarMustache, an extended Mustache class which contains file handling for templates and partials. This will most likely be merged in with the main Mustache class once it's a little more solid. More... about 14 years ago
Wrap the render() function in a __toString method for implicit string conversion. More... about 14 years ago
Updated documentation to reflect thrown exceptions. More... about 14 years ago
Split section exceptions, variable exceptions and partial exceptions into distinct configuration options. More... about 14 years ago
Added MustacheException class, added exceptions for missing variables and partials and unclosed or unopened section tags. Added throwExceptions member variable to enable/disable throwing exceptions on unexpected tags. Defaults to false. More... about 14 years ago
Fixed initialization for template and partials to avoid thunking defaults added by subclasses. More... about 14 years ago
Updating readme to link to pretty Mustache homepage rather than github page. More... about 14 years ago
Major updates to fix context in iterable blocks. Context is now stored in an array, with the most local context at index 0. Changed everything to pass context arrays around by reference. Added internal function for recursive render calls, allowing the top level to take a single view object, but all internal calls to expect a context array. More... about 14 years ago
Changed otag and ctag to public. Someone might possibly want to change these at the outset without passing junk in at the top of the template. More... about 14 years ago
Updated render initialization code. Now passes $this as the view object unless an external view object is provided. More... about 14 years ago
Usage. More... about 14 years ago
MIT License More... about 14 years ago
Fixed passing partials to already-instantiated Mustache object. Added (brief) documentation for partials. More... about 14 years ago
Initial commit of Mustache.php More... about 14 years ago