debian man page for catalyst::helper::model::adaptor

Query: catalyst::helper::model::adaptor

OS: debian

Section: 3pm

Links: debian man pages   all man pages

Forums: unix linux community   forum categories

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

Catalyst::Helper::Model::Adaptor(3pm)			User Contributed Perl Documentation		     Catalyst::Helper::Model::Adaptor(3pm)

NAME
Catalyst::Helper::Model::Adaptor - helper for the incredibly lazy
SYNOPSIS
Running: ./script/myapp_create.pl model SomeClass Adaptor MyApp::Backend::SomeClass create Will create "YourApp::Model::SomeClass" that looks like: package YourApp::Model::SomeClass; use strict; use warnings; use base 'Catalyst::Model::Adaptor'; __PACKAGE__->config( class => 'MyApp::Backend::SomeClass', constructor => 'create', ); 1; Why you need a script to generate that is beyond me, but here it is.
ARGUMENTS
./script/myapp_create.pl model <model_name> Adaptor <class> [<constructor>] You need to sepecify the "model_name" (the name of the model), and "class", the class being adapted. If "$class->new" isn't going to do what you want, pass the name of $class's constructor as "constructor".
AUTHOR
Jonathan Rockway "<jrockway@cpan.org>"
LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as perl itself. No copyright claim is asserted over the generated code. perl v5.10.1 2010-02-09 Catalyst::Helper::Model::Adaptor(3pm)
Related Man Pages
catalyst::helper::model::cdbi(3pm) - debian
catalyst::helper::model::dbic::schema(3pm) - debian
catalyst::model::cdbi(3pm) - debian
catalyst::model::dbi(3pm) - debian
catalyst::view::petal(3pm) - debian
Similar Topics in the Unix Linux Community
HBA Adaptor and setup
call constructor of java class in script
Model Railroad System 2.1.14a (Default branch)
fetchconfig 0.12 (Default branch)
Harnessing the Active Data Model