debian man page for catalyst::model::factory::perrequest

Query: catalyst::model::factory::perrequest

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Catalyst::Model::Factory::PerRequest(3pm)		User Contributed Perl Documentation		 Catalyst::Model::Factory::PerRequest(3pm)

NAME
Catalyst::Model::Factory::PerRequest - use a plain class as a Catalyst model, instantiating it once per Catalyst request
SYNOPSIS
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".
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 class ACCEPT_CONTEXT Create an instance of your class and return it.
SEE ALSO
For all the critical documentation, see Catalyst::Model::Adaptor. perl v5.10.1 2010-08-04 Catalyst::Model::Factory::PerRequest(3pm)
Related Man Pages
catalyst::component::instancepercontext(3pm) - debian
catalyst::helper::model::cdbi(3pm) - debian
catalyst::plugin::log::dispatch(3pm) - debian
catalyst::restarter(3pm) - debian
catalyst::traitfor::model::dbic::schema::replicated(3pm) - debian
Similar Topics in the Unix Linux Community
Installing Dash Shell on OS X Lion
Introduction
Find columns in a file based on header and print to new file
Weird 'find' results
A (ksh) Library For and From UNIX.com