cake/libs/controller/controller.php (__construct) On Nov 9, 12:22 am, Steveston <[EMAIL PROTECTED]> wrote: > I know OO. But app_controller must be executed somewhere, ie: > parent:construct. But I cannot find the route. > > Debug again. > > On Nov 8, 3:13 pm, francky06l <[EMAIL PROTECTED]> wrote: > > > AppController and AppModel are based class. They are instantiated from > > you derived classes. > > Inheritance is part of Objects .. > > hope this helps > > > On Nov 9, 12:09 am, Steveston <[EMAIL PROTECTED]> wrote: > > > > Hi there, > > > > Say I have a cake app, and I have my own custom app_controller and > > > app_model. I also have some components, say A,B,C. > > > > When visitors go to my website, what is the sequence for my cake app > > > executed? > > > > I did a debug and it seems the the sequence may be: > > > > 1. webroot/app > > > 2. dispatcher.php > > > 3. (PHP's built-in) call_user_func_array > > > 4. my controller (A) > > > 5. models associated with controller A > > > 6. model_php5.php > > > 7. dbo_source.php > > > ... ... > > > > I cannot find where app_controller or app_model is called. > > > > Could you please give me an insight of how Cake app is executed? > > > > Thanks,
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
