On Aug 2, 9:09 am, AD7six <[EMAIL PROTECTED]> wrote:
> On Aug 2, 12:58 am, safl <[EMAIL PROTECTED]> wrote:
>
> > And not all controllers are modules so i do not wish for all
> > controllers in /controllers to extend Module controller.
> > Only the ones which are "Modules".
> > By doing this the code is quite easy to follow and understand which
> > parts are responsible for what.
>
> > But my problem is the nasty solution of dumping the class definition
> > into /app/app_controller.php ...
> > All ideas,
>
> Look into plugins
thx, haven't actually explored the possiblities of using plug-ins, but
it seems like a very nifty that i got some other uses for except for
my current problem at hand.
>
> >tips and hints
>
> For the question as posed:
>
> require_once(APP.'module_controller.php');
> Class WidgetController extends ModuleController {
> ... etc.
I might just end up doing this, It's not all that pretty but it does
make a better solution than my current. Thx for the input!
>
> > are very welcome!
>
> hth,
>
> AD
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---