2009/2/19 Kieren Diment <kie...@diment.org>: > > On 19/02/2009, at 11:58 PM, Dermot wrote: >>> >>> Check the 2008 advent calendar for ACCEPT_CONTEXT usage: >>> http://dev.catalystframework.org/wiki/adventcalendararticles >> >> >> Wow! that works but I am not sure where ACCEPT_CONTEXT comes into it. >> > > That'd be if you needed to pass stuff from $c into the model to get it > working properly.
I'd like to allow my stand alone model access to the configuration values contained in MyApp->config. It seems like the tidy way to do things. Does the ACCEPT_CONTEXT method allow me to do this? Is there some kinda SUPER way I can grab config and make an accessor of it? Thanx, Dp. _______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/