[TYPO3-mvc] Check if object has already a uid

Stefan Kruse besucher80 at gmx.de
Fri Mar 7 12:36:08 CET 2014


I use different actions. And I tried using _isNew() and getUid(). Here is
the problem that the object form session always isNew and the uid is always
NULL. That's why I asked here. Is there a problem with Objects from session
maybe or something else? My idea was:

If($object->_isNew()) {
	Then enter
}
Else {
	Do nothing
}

Regards Stefan



More information about the TYPO3-project-typo3v4mvc mailing list