[Catalyst] Plugins vs. Base Controllers
Krzysztof Krzyzaniak
eloy at kofeina.net
Wed Aug 30 15:26:46 CEST 2006
John Napiorkowski wrote:
> Check out the thread summary for this thread at: http://www.gossamer-threads.com/lists/catalyst/users/9312?search_string=Plugins%20vs.%20Base%20Controllers;#9312
>
> and toward the bottom Matt gives and example and pointed me to a module that was using it.
>
> --john
>
> ----- Original Message ----
> From: Krzysztof Krzyzaniak <eloy at kofeina.net>
> To: The elegant MVC web framework <catalyst at lists.rawmode.org>
> Sent: Wednesday, August 30, 2006 7:18:33 AM
> Subject: Re: [Catalyst] Plugins vs. Base Controllers
>
> Matt S Trout wrote:
>
> [..]
>> If your only argument is "I need $c" you can usually do a controller, view or
>> model with an ACCEPT_CONTEXT method. Often you only actually need the app
>> instance (i.e. the "MyApp" class name in 5.70) not the full request context.
>
> Could someone point me example (some basic template, existing code) of this?
Thank you, works like a charm.
eloy
--
-------e-l-o-y---------------------------e-l-o-y- at -k-o-f-e-i-n-a-.-n-e-t------
jak to dobrze, że są oceany - bez nich byłoby jeszcze smutniej
More information about the Catalyst
mailing list