OK, thank's Michael!
But is it a good idea to "load" all models in AppController whereas
this models are not used in all Controllers that extends
AppController?
Or your trick doesn't "load" the models but just indicates it for code
completion to PDT Eclipse?
In the same way, HtmlHelper is declared in CakeCore's Controller Class
so it's not necessary to write "$helpers = array('html');" in our own
controllers, views and helpers? In this case, why couldn't we write
all available Models, Helpers, Components in a unique place (e.g.
AppController)?
Because in practice, there are a lot of same declarations, like
'$helpers = array('html','form')", in our applications!
I'm sorry but this kind of details are not trivial for me...
Thank's for explanations...
Aurélien
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---