If I want to retrieve content on an element, should I be calling $entry->$fieldHandle or $entry->getContent()->$fieldHandle? What’s the difference?
Likewise, if I’m setting new content on an element, what’s the recommended way to set my new custom field values?
$entry->getFieldValue(). Both call theprepValuemethod, whereas the magic getter does read directly from the content model in all circumstances (such as you are accessing a model property before it is saved). – Benjamin Smith Nov 15 '16 at 17:15