NAME
Catalyst::Plugin::ClassConfig - MVC¤Î¥¯¥é¥¹¤ò°ì¤Ä¤Î¥Õ¥¡¥¤¥ë¤Ë´ØÏ¢ÉÕ¤±¤Þ¤¹¡£
SYNOPSIS
use Catalyst qw/ClassConfig/
MyApp->config()->{ClassConfig => {dir => '/path/to/config/dir', ModelPrefix => ['CDBI','MyDBI'], ViewPrefix => ['TT','HTMLT']};
DESCRIPTION
¶¦Ä̤Î̾Á°¤ÎMVC¤Î¥¯¥é¥¹¤ò°ì¤Ä¤Î¥³¥ó¥Õ¥£¥°¥Õ¥¡¥¤¥ë¤Ë´ØÏ¢ÉÕ¤±¤Þ¤¹¡£ ¥â¥Ç¥ë¡¢¥Ó¥å¡¼¡¢¥³¥ó¥È¥í¡¼¥é¤Ç¶¦ÄÌÉôʬ¤ò³°Éô¤Î¥Õ¥¡¥¤¥ë¤Ë½ñ¤½Ð¤·¤¿¤¤ºÝ¤ËÍøÍѤ·¤Æ¤¯¤À¤µ¤¤¡£
- prepare
-
½é´ü²½½èÍý MyApp->config->{'ClassConfig'}->{'NotClone'}¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢ ÂàÈòÎΰè¤Î¥³¥ó¥Õ¥£¥°¥Ç¡¼¥¿¤ò¼ÂÍÑÎΰè¤Ë¥³¥Ô¡¼¤·¤Þ¤¹¡£ NotClone¤¬»ØÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤ÏÂàÈòÎΰè¤Ï»È¤ï¤ì¤º¡¢ ¤¹¤Ù¤Æ¼ÂÍÑÎΰ褬»È¤ï¤ì¤Þ¤¹¡£ ¤³¤Î¾ì¹ç¤ÏÆ°ºîÃæ¤Ë¥³¥ó¥Õ¥£¥°¤òÊѹ¹¤¹¤ë¤È¡¢ Web¥µ¡¼¥Ð¡¼¤¬½ªÎ»¤¹¤ë¤Þ¤Ç»Ä¤ë¤Î¤ÇÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
- setup
-
Catalystµ¯Æ°»þ¤Î½èÍý¤Ç¤¹¡£ ClassConfig¤¬ÆâÉô¤ÇÍøÍѤ¹¤ë¥ª¥Ö¥¸¥§¥¯¥È¤òºîÀ®¤·¤Þ¤¹¡£
- setup_actions
-
Catalystµ¯Æ°»þ¤Î½èÍý¤Ç¤¹¡£ Catalyst¤¬¥í¡¼¥É¤·¤¿¥³¥ó¥Ý¡¼¥Í¥ó¥È¤è¤ê¥â¥¸¥å¡¼¥ë°ìÍ÷¤ò¼èÆÀ¤·¡¢ ¤½¤ì¤ËÂбþ¤·¤¿¥³¥ó¥Õ¥£¥°¥Õ¥¡¥¤¥ë¤ò¥í¡¼¥É¤·¤Þ¤¹¡£
- clc
-
ClassConfig¤Îµ¡Ç½¤Ë¥¢¥¯¥»¥¹¤¹¤ë¤¿¤á¤Î´Ø¿ô¤Ç¤¹¡£ ɬ¤º¼«Ê¬¼«¿È¤Î¥ª¥Ö¥¸¥§¥¯¥È¡¢¤Þ¤¿¤Ï¥¯¥é¥¹Ì¾¤òÅϤ·¤Æ¤¯¤À¤µ¤¤¡£ ex) $c->clc($self) or $c->clc('MyApp::C::MyController');
NAME
Catalyst::ClassConfig::Object - ClassConfig¤ÎËÜÂΤǤ¹¡£
DESCRIPTION
- new
- class_stash
- load
-
¥³¥ó¥Õ¥£¥°¥Õ¥¡¥¤¥ë¤òÌÀ¼¨Åª¤Ë¥í¡¼¥É¤·¤Þ¤¹¡£ NotClone¤¬Î©¤Ã¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï¤½¤Î¥ê¥¯¥¨¥¹¥È¤Î¤ß¤Ç͸ú¤Ç¤¹
- config
- schema
- properties
-
schema¤Îname¤Î¥ê¥¹¥È¤òÊÖ¤¹
- getController
- setController
- getView
- setView
- getViews
- setViewType
-
Ê£¿ô¤ÎView¤¬¤¢¤Ã¤¿¾ì¹ç¤Ë¡¢»ØÄꤵ¤ì¤Æ¤ëprefix¤Îview¤òÍ¥À褵¤»¤ë
- getModel
- setModel
- getModels
- setModelType
- get_namespace
- req_params
- req_param
- get_form_prefix
-
½¤¾þ¤µ¤ì¤¿¥Õ¥©¡¼¥à¤Î̾Á°¤òºî¤ë¤¿¤á¤Ë¡¢ ¤½¤ÎÁ°¤ÎÉôʬ¤òÊÖ¤¹
- get_form_delimiter
- get_form_plus_str
- set_form_delimiter
- set_form_plus_str
- get_next_plus_str
- clear_form_delimiter
- clear_form_plus_str
- set_req_params
-
$c->clc($self)->set_req_params(\%hash);
- set_req_param
SEE ALSO
AUTHOR
Shota Takayama, <shot@bindstorm.jp>
COPYRIGHT AND LICENSE
Copyright (C) 2005 by Shota Takayama and Shanon, Inc.
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
3 POD Errors
The following errors were encountered while parsing the POD:
- Around line 18:
Non-ASCII character seen before =encoding in 'MVC¤Î¥¯¥é¥¹¤ò°ì¤Ä¤Î¥Õ¥¡¥¤¥ë¤Ë´ØÏ¢ÉÕ¤±¤Þ¤¹¡£'. Assuming CP1252
- Around line 170:
You forgot a '=back' before '=head1'
- Around line 887:
You forgot a '=back' before '=head1'