Initially I was doing $entry->getContent()->getAttributes()
, but noticed my Matrix fields were all null
.
What is the right way to do this?
I see that $entry->myMatrixField
gives me the ElementCriteriaModel
for my Matrix that I need, I thought that would be the same as using `getAttribute('myMatrixField'), but i guess not.