| DBIX :: Class :: Helpers. DBIX :: CLASS¿¡ ´ëÇÑ ÀϹÝÀûÀÎ »ç·Ê ÀÛ¾÷À» ´Ü¼øÈÇÕ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
DBIX :: Class :: Helpers. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Arthur Axel Schmidt
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~frew/
DBIX :: Class :: Helpers. ű×
DBIX :: Class :: Helpers. ¼³¸í
dbix :: class :: Ç︯½º´Â dbix :: class.synopsis package myApp :: schema :: result :: foo_bar; __package __-> load_components (QW {µµ¿ì¹Ì :: jointable ÄÚ¾î}); __package __-> join_table ({left_class => 'foo', left_method => 'foo', right_class => 'bar', work_method => bar ',}); # »óÀ§ Ŭ·¡½º ÆÐÅ°Áö PUSHOMCHEMA :: RETEAL :: BAR; ¾ö°ÝÇÑ »ç¿ë; °æ°í¸¦ »ç¿ëÇϽʽÿÀ. ºÎ¸ð 'DBIX :: Class'¸¦ »ç¿ëÇϽʽÿÀ. __package __-> load_components ( 'core'); __package __-> Å×À̺í ( 'bar'); __package __-> add_columns (qw / id foo_id /); __package __-> set_primary_key ( 'ID'); __package __-> sectons_to (foo => 'pourcechema :: °á°ú :: foo', 'foo_id'); # define subclass package myschema :: result :: bar; ¾ö°ÝÇÑ »ç¿ë; °æ°í¸¦ »ç¿ëÇϽʽÿÀ. ºÎ¸ðÀÇ 'ºÎ¸ð ü¸¶ :: °á°ú :: ¹Ù'¸¦ »ç¿ëÇϽʽÿÀ. __package __-> load_components (qw {helper :: subclass core}); __package __-> ¼ºê Ŭ·¡½º; Á¦Ç°ÀÇ È¨ÆäÀÌÁö
DBIX :: Class :: Helpers. °ü·Ã ¼ÒÇÁÆ®¿þ¾î