Rechercher une page de manuel
Catalyst::Model::Factory.3pm
Langue: en
Version: 2010-02-09 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
NAME
Catalyst::Model::Factory - use a plain class as a Catalyst model, instantiating it every time it is requestedSYNOPSIS
This 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".CUSTOMIZING
You can customize your subclass just like Catalyst::Model::Adaptor. Instead of $app, though, you'll get $c, the current request context.METHODS
These methods are called by Catalyst, not by you:COMPONENT
Load your classACCEPT_CONTEXT
Create an instance of your class and return it.SEE ALSO
For all the critical documentation, see Catalyst::Model::Adaptor.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre