Re: To use App Controller or not to use

2011-01-05 Thread Slav
app_controller.php should go in /app ... not in /app/controllers On Jan 4, 11:00 pm, Joshua Muheim wrote: > I don't know if that's your question, but yes you need to create a > files app/controllers/app_controller.php; you should NEVER change > anything in the cake directory, so leave the > cake/

Re: To use App Controller or not to use

2011-01-04 Thread Taffarel de Lima
I think you should learn more about OOP. 2011/1/4 Joshua Muheim > I don't know if that's your question, but yes you need to create a > files app/controllers/app_controller.php; you should NEVER change > anything in the cake directory, so leave the > cake/libs/controller/app_controller.php file a

Re: To use App Controller or not to use

2011-01-04 Thread Joshua Muheim
I don't know if that's your question, but yes you need to create a files app/controllers/app_controller.php; you should NEVER change anything in the cake directory, so leave the cake/libs/controller/app_controller.php file alone. CakePHP will find your own app_controller.php file and load it inste

Re: To use App Controller or not to use

2010-12-24 Thread John Maxim
Thanks Stephen, I may get to test that later in my App. On Dec 24, 7:01 pm, Stephen wrote: > The AppController is related to every controller you create, this means > every controller will inherit the functions and settings from the > AppController. > > Anything you do in the app_controller or th

Re: To use App Controller or not to use

2010-12-24 Thread Stephen
The AppController is related to every controller you create, this means every controller will inherit the functions and settings from the AppController. Anything you do in the app_controller or the app_model will be executed in the controllers and models which extend it, unless you override a func

Re: To use App Controller or not to use

2010-12-23 Thread John Maxim
I found the file it's in *\cake\libs\controller On Dec 24, 3:04 pm, John Maxim wrote: > I'm reading this section now: > > http://book.cakephp.org/view/957/The-App-Controller > > I find that the usefulness of AppController is by creating the > components, uses, and helpers in a new folder differen

To use App Controller or not to use

2010-12-23 Thread John Maxim
I'm reading this section now: http://book.cakephp.org/view/957/The-App-Controller I find that the usefulness of AppController is by creating the components, uses, and helpers in a new folder different path other than in the controller file. But that page says creating the AppController: is defin