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 <[EMAIL PROTECTED]>
> To: The elegant MVC web framework <[email protected]>
> 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
--
[EMAIL PROTECTED]
jak to dobrze, że są oceany - bez nich byłoby jeszcze smutniej
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/