Releases: leongrdic/php-dataplater
Releases · leongrdic/php-dataplater
3.1.2
11 Jul 17:34
Compare
Sorry, something went wrong.
No results found
Fix: besides strings, expressions can now also return numbers and bools without an exception being thrown.
3.1.1
29 Jun 12:17
Compare
Sorry, something went wrong.
No results found
an exception will now be thrown:
when expression result is of wrong type
when missing the expression in data-dp-attr
3.1.0
23 Jun 13:04
Compare
Sorry, something went wrong.
No results found
you can now pass an attr parameter when creating a Dataplater object in order to change the default data-dp attribute to a custom one.
3.0.0
13 Jun 10:04
Compare
Sorry, something went wrong.
No results found
major breaking update!
biggest change is now using SMPLang for expression evaluation
now using data-dp instead of data-var
including html files now possible
utf8 support
not adding doctype and html tags anymore
added tests
more thorough documentation with every feature covered in readme
2.1.0
04 May 17:46
Compare
Sorry, something went wrong.
No results found
added ternary functions
made dom and xpath props protected
2.0.1
30 Mar 17:51
Compare
Sorry, something went wrong.
No results found
fixed data-var-html and data-var-if-html that previously weren't working accidentally
2.0.0
13 Mar 09:57
Compare
Sorry, something went wrong.
No results found
its now possible to provide a string template instead of filename
render() vars parameter
28 Feb 08:28
Compare
Sorry, something went wrong.
No results found
the render method now has a $vars parameter so you can add global vars in the constructor and render multiple different pages using the same instance
removed undocumented methods
updated and rearranged readme
first release
25 Feb 21:18
Compare
Sorry, something went wrong.
No results found
everything seems to be working well and feedback is welcome!