Skip to content

Releases: qolarnix/Template

Glacial Template v2.0.0

24 Jul 21:55
Compare
Choose a tag to compare

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

12 Feb 08:23
Compare
Choose a tag to compare

Removed debug output from string modifiers.

Glacial Template v1.1.0

12 Feb 08:17
Compare
Choose a tag to compare

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

12 Feb 04:40
Compare
Choose a tag to compare
  • Deprecated escape via loop
  • Added View class to extend engine
  • Added escape method on View

First release

12 Feb 03:06
Compare
Choose a tag to compare

It works.