php - TYPO3 Extbase: How to access "modified" flag of my object property? -
i use extbase debugutility (tx_extbase_utility_debugger::var_dump($object)). displays additional data each property, "modified" flag - see screenshot.
how can access "meta property" within controller (updateaction)? tried $object->getproperty->ismodified , other combinations, no avail.

there method $yourobject->_isdirty("propertyname") returns true if has been modified (see documentation).
if property collection itself, use $yourobject->getwhatevers()->_isdirty() (see documentation).
Comments
Post a Comment