Thanks a lot :)

On Sat, Apr 2, 2011 at 3:00 PM, cricket <[email protected]> wrote:

> On Sat, Apr 2, 2011 at 12:44 PM, Ma'moon <[email protected]> wrote:
> > Hi,
> > Is there any way to detect if a model is already been loaded or not,
> > something like a method called "$this->isLoaded($modelName)" that you can
> > call from within the controller?
> > Thanks in advance for any help :)
>
> ClassRegistry::isKeySet('ModelName')
>
> http://api.cakephp.org/class/class-registry#method-ClassRegistryisKeySet
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to