What do you mean under "model exists", where do you check it and for what purpose do you need it?
Btw, method_exists won't work as loaded models in controllers and models are their properties, not methods. On Jul 10, 12:31 pm, eli_sier <e...@localsa.com.au> wrote: > I'd like to be able to check to see if a model exists. > > I've tried: > > method_exists($this, 'ModelName') > > but it does not seem to work. > > Any way of doing this? > > Cheers, > Eli --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---