This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hey, I know that there's the function dump() or the Debugbar for october - but all this doesn't solve my problem.
Lets say I've got this table:
person
name, age
So in the view I can use
{{ record.name }}
Okay.
But what is when I have very much partials in use, calling each other, and I forgot to pass my variables from one partial to the next. So I want to output record.name, but nothing happens. So I want to see wheter the variable is present in this view.
Or another person has created the code and I don't know that the person object has an attribute name.
In Fluid I can call
{ record -> f:debug() }
which outputs an print_r of the record object which I can open and then see all the possible attributes.
1-1 of 1