issues
search
harrydeluxe
/
php-liquid
A PHP port of Ruby's Liquid Templates
http://www.delacap.com/artikel/Liquid-Templates/
MIT License
239
stars
119
forks
source link
Context::variable refactored, bugs fixed, tests added
#41
Closed
sanmai
closed
7 years ago
sanmai
commented
7 years ago
Do not check for
is_object
unless necessarily
Call
toLiquid
on every embedded object, not just the first one
Save value returned from
get
method for objects having
field_exists
method
Nullify properties of plain values
First try an object's methods, only then resort to properties that may not be readable
Fixes #40, #42
is_object
unless necessarilytoLiquid
on every embedded object, not just the first oneget
method for objects havingfield_exists
methodFixes #40, #42