[TYPO3-mvc] How to check if object was created ?
Dawid Pacholczyk
dpacholczyk at gmail.com
Tue Mar 8 09:32:37 CET 2011
Hello List,
I have this sample code
$temp = t3lib_div::makeInstance("Tx_MyExt_Domain_Model_Record");
$temp = $this->findByExtRec($resVal['uid']);
How can I check is $temp is really an object?
Not always I`ll find an object in database so I need to check before
I`ll use for example $temp->getUid()
How can I do that ?
Best regards,
Dawid Pacholczyk
More information about the TYPO3-project-typo3v4mvc
mailing list