Catalyst :: view :: html :: ÅÛÇø´

CATALYST :: View :: HTML :: ÅÛÇø´Àº HTML :: ÅÛÇø´ ºä Ŭ·¡½ºÀÔ´Ï´Ù.
Áö±Ý ´Ù¿î·Îµå

Catalyst :: view :: html :: ÅÛÇø´ ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Christian Hansen
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~mramberg/Catalyst-Engine-Server-0.02/lib/Catalyst/Engine/Server.pm

Catalyst :: view :: html :: ÅÛÇø´ ű×


Catalyst :: view :: html :: ÅÛÇø´ ¼³¸í

Catalyst :: View :: HTML :: ÅÛÇø´Àº HTML :: ÅÛÇø´ ºä Ŭ·¡½ºÀÔ´Ï´Ù. Catalyst :: View :: HTML :: ÅÛÇø´Àº HTML :: ÅÛÇø´ ºä Ŭ·¡½ºÀÔ´Ï´Ù. Synopsis # helper create.plº¸±â html :: ÅÛÇø´ html :: ÅÛÇø´ # lib / myApp / View / html / template.pm ÆÐÅ°Áö myApp :: view :: html :: ÅÛÇø´; ±âº» 'Catalyst :: View :: HTML :: Template'À» »ç¿ëÇϽʽÿÀ. __package __-> config (die_on_bad_params => 0, file_cache => 1, file_cache_dir => '/ tmp / cache'); 1; # ÇÑÆí, ¾î¼¸é '³¡'µ¿ÀÛ $ c-> ¾ÕÀ¸·Î ( 'myApp :: view :: html :: template'); ÀÌ°ÍÀº html :: ÅÛÇø´ ºä Ŭ·¡½ºÀÔ´Ï´Ù. ¼­ºê Ŭ·¡½º´ÂÀÌ class.methodsProcessrenders¿¡¼­ $ C-> stash -> {template} ¶Ç´Â $ c-> ¿äû -> ÀÏÄ¡¿¡ ÁöÁ¤µÈ ÅÛÇø®Æ®¸¦ »ó¼ÓÇؾßÇÕ´Ï´Ù. ÅÛÇø´ ¸Å°³ º¯¼ö´Â $ C-> StashÀÇ ³»¿ë¿¡¼­ ±âº» ¼³Á¤À» $ C-> Req-> Base¿Í $ C-> Config-> {Name}·Î Ç¥½ÃÇÕ´Ï´Ù. Ãâ·ÂÀº $ C-> ÀÀ´ä -> body.renderrenders ÁÖ¾îÁø ÅÛÇø´¿¡ ÀúÀåµÇ°í Ãâ·ÂÀ» ¹ÝȯÇÕ´Ï´Ù. ÅÛÇø´ params´Â $ args°¡ hashref ¶Ç´Â $ c-> stash ÀÎ °æ¿ì % $ argsÀÇ ³»¿ë¿¡¼­ ¼³Á¤µË´Ï´Ù. $ c-> req-> base¿Í name to $ c-> config-> {name} .configThis¸¦ »ç¿ëÇϸé View ÇÏÀ§ Ŭ·¡½º°¡ HTML :: Template Config Hash.Requirements : ¡¤ Perl


Catalyst :: view :: html :: ÅÛÇø´ °ü·Ã ¼ÒÇÁÆ®¿þ¾î