[TYPO3-mvc] Complex array validation

Jacob Rasmussen jacob at lightbulb.dk
Tue Feb 7 18:33:44 CET 2012


>
> You must use the proper Model class name where I used $modelClassName - the variable was just named to illustrate a need to insert your own variable since I didn't know the classname of your Model :)
>

Sorry I didn't clarify that point... I did use the correct model class 
name - in this case:

if ($newInquiry === NULL) {
   $newInquiry = 
$this->objectManager->create('Tx_Booking_Domain_Model_Inquiry');
}


-- 
Kind regards

Jacob Rasmussen
Certified TYPO3 Integrator


More information about the TYPO3-project-typo3v4mvc mailing list