Manual Reference Pages - CATALYST::MODEL::FACTORY::PERREQUEST (3)
Catalyst::Model::Factory::PerRequest - use a plain class as a Catalyst model,
instantiating it once per Catalyst request
This 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.
You can customize your subclass just like
Catalyst::Model::Adaptor. Instead of
$app, though, youll get $c, the current request context.
These methods are called by Catalyst, not by you:
Load your class
Create an instance of your class and return it.
For all the critical documentation, see Catalyst::Model::Adaptor.
|perl v5.20.3 ||CATALYST::MODEL::FACTORY::PERREQUEST (3) ||2011-02-23 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.