Query: catalyst::model::factory
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Catalyst::Model::Factory(3pm) User Contributed Perl Documentation Catalyst::Model::Factory(3pm)NAMECatalyst::Model::Factory - use a plain class as a Catalyst model, instantiating it every time it is requestedSYNOPSISThis module works just like Catalyst::Model::Adaptor, except that a fresh instance of your adapted class is created every time it is requested 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(3pm)