Man Page: catalyst::model::factory::perrequest
Operating Environment: debian
Section: 3pm
Catalyst::Model::Factory::PerRequest(3pm) User Contributed Perl Documentation Catalyst::Model::Factory::PerRequest(3pm)NAMECatalyst::Model::Factory::PerRequest - use a plain class as a Catalyst model, instantiating it once per Catalyst requestSYNOPSISThis module works just like Catalyst::Model::Factory, except that a fresh instance of your adapted class is once per Catalyst request, not every time you ask for the object via "$c->model".CUSTOMIZINGYou can customize your subclass just like Catalyst::Model::Adaptor. Instead of $app, though, you'll get $c, the current request context.METHODSThese methods are called by Catalyst, not by you: COMPONENT Load your class ACCEPT_CONTEXT Create an instance of your class and return it.SEE ALSOFor all the critical documentation, see Catalyst::Model::Adaptor. perl v5.10.1 2010-08-04 Catalyst::Model::Factory::PerRequest(3pm)
| Similar Topics in the Unix Linux Community |
|---|
| Adding the individual columns of a matrix. |
| Installing Dash Shell on OS X Lion |
| awk or sed - Convert 2 lines to 1 line |
| Is UNIX an open source OS ? |