I have tried it down by making simple php file (quality.php) and
then add functions in quality.php from animals controller
then i use include("quality.php") in animals controller
but it doesn't workOn Wed, Apr 2, 2008 at 4:12 PM, Adam Royle <[EMAIL PROTECTED]> wrote: > > Well, CakePHP is just regular PHP, so you can still do includes or > whatever you want. What is your controller code doing that takes so > many lines of code? > > Adam > > On Apr 2, 8:28 pm, mans <[EMAIL PROTECTED]> wrote: > > but these functions are not reusable and I am also not interesting in > > making components. > > Is their not some solution like (as in simple php we use include or > > require) we made some file and include it in controller ? > > > > On Apr 1, 5:21 pm, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote: > > > > > Well, two things: > > > > > 1. Fat models, skinny controllers. > > > 2. Create and use components. > > > > > On Tue, Apr 1, 2008 at 9:07 AM, mans <[EMAIL PROTECTED]> wrote: > > > > > > My controller files code has gone very long. I want to break it in > > > > different files. > > > > thanks in advance > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
