Skip to content

Releases: micropackage/templates

1.1.6

15 Nov 21:12
Compare
Choose a tag to compare

Fixed

  • The the_esc() method is now wired correctly.

Fixed

  • The the_esc() method is now wired correctly.

Added

  • Template function to escape and echo template var: the_esc()

Fixed

  • PHP 7.0 compatibility

Added

  • Default value for template vars passed as the second argument to get and the methods and it's closure eqivalents

734d8dc

Added

  • Magic method for string converstion. Now you are able to echo new Template()

Changed

  • Before printing the template, the file existance is checked. If not present, the TemplateException is thrown
  • If the storage wasn't set previously, the StorageException is thrown while creating new Template object

Added

  • Procedural helper functions


Initial releas

1.1.5

15 Nov 21:06
Compare
Choose a tag to compare

Fixed

  • The the_esc() method is now wired correctly.

Added

  • Template function to escape and echo template var: the_esc()

Fixed

  • PHP 7.0 compatibility

Added

  • Default value for template vars passed as the second argument to get and the methods and it's closure eqivalents

734d8dc

Added

  • Magic method for string converstion. Now you are able to echo new Template()

Changed

  • Before printing the template, the file existance is checked. If not present, the TemplateException is thrown
  • If the storage wasn't set previously, the StorageException is thrown while creating new Template object

Added

  • Procedural helper functions


Initial releas

1.1.4

15 Nov 09:25
Compare
Choose a tag to compare

Added

  • Template function to escape and echo template var: the_esc()

Fixed

  • PHP 7.0 compatibility

Added

  • Default value for template vars passed as the second argument to get and the methods and it's closure eqivalents

734d8dc

Added

  • Magic method for string converstion. Now you are able to echo new Template()

Changed

  • Before printing the template, the file existance is checked. If not present, the TemplateException is thrown
  • If the storage wasn't set previously, the StorageException is thrown while creating new Template object

Added

  • Procedural helper functions


Initial releas

1.1.3

21 Apr 19:09
Compare
Choose a tag to compare

Fixed

  • PHP 7.0 compatibility

1.1.2

13 Mar 14:02
Compare
Choose a tag to compare

Added

  • Default value for template vars passed as the second argument to get and the methods and it's closure eqivalents

1.1.1

12 Mar 07:36
Compare
Choose a tag to compare

Added

  • Magic method for string conversion. Now you are able to echo new Template()

Changed

  • Before printing the template, the file existence is checked. If not present, the TemplateException is thrown
  • If the storage wasn't set previously, the StorageException is thrown while creating new Template object