Releases: qolarnix/Template
Releases · qolarnix/Template
Glacial Template v2.0.0
Added constructor to view to inherit paths config. Now you can render other templates inside views.
$view->render('template-name');
All other view methods will still work here. You can also use view to escape and modify text from any source.
Glacial Template v1.1.1
Removed debug output from string modifiers.
Glacial Template v1.1.0
Added modifiers that can be called and chained within escape()
- uppercase: str_to_upper()
- randomize: - str_shuffle()
Example:
echo $view->escape($val, 'uppercase|randomize');
This proof-of-concept will allow for adding more advanced modifiers in the future.
Glacial Template v1.0.1
- Deprecated escape via loop
- Added View class to extend engine
- Added escape method on View
First release
It works.