Is there a simple way to get the model name from something like this? This is the data that's sent to cake.
data[Contact][email] [email protected] data[Account][email] [email protected] Debug will get me Array( [Contact] => array( [Email] => [email protected] ) ) Where I simply need 'Contact' or 'Account' Thanks Dave --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
