| ePortal :: html :: Ķ¸°´õ ePortal :: HTML :: Calendar´Â ÀÏÁ¤ ´ëÈ »óÀÚÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
ePortal :: html :: Ķ¸°´õ ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Sergey Rusakov
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~rusakov/ePortal-4.5/lib/ePortal/HTML/Calendar.pm
ePortal :: html :: Ķ¸°´õ ű×
ePortal :: html :: Ķ¸°´õ ¼³¸í
ePortal :: html :: Ķ¸°´õ´Â ÀÏÁ¤ ´ëÈ »óÀÚÀÔ´Ï´Ù. ePortal :: html :: Ķ¸°´õ´Â ´Þ·Â ´ëÈ »óÀÚÀÔ´Ï´Ù. Synopsisthis ¸ðµâÀº ¿ù°£ ´Þ·ÂÀ¸·Î ´ëÈ »óÀÚ¸¦ ¸¸µå´Â µ¥ »ç¿ëµË´Ï´Ù. % $ Ķ¸°´õ = »õ·Î¿î ePortal :: html :: Ķ¸°´õ (m => $ m); % $ ÀÏÁ¤ -> URL_ALL ( 'self'); ... <% $ Ķ¸°´õ-> Draw %> MethodsNew (³¯Â¥) ¿ÀºêÁ§Æ® °³Ã¼. ³¯Â¥´Â set_date·Î Àü´ÞµË´Ï´Ù. ´Þ·ÂÀÇ ³¯Â¥´Â URL¿¡¼ ÃʱâÈ µÉ ¼ö ÀÖ½À´Ï´Ù. ½ÇÁ¦ ³¯Â¥ ¼Ò½º´Â date_source () ¸â¹ö function.self_url (cal_param, value)À¸·Î °Ë»ç ÇÒ ¼ö ÀÖ½À´Ï´Ù. ÀÚü ÂüÁ¶ URL ¸ðµÎ ³ª ÀÚ½ÅÀÇ Æ¯Á¤ ¸Å°³ º¯¼ö¸¦ Á¦°ÅÇÕ´Ï´Ù. »õ ¸Å°³ º¯¼ö´ÂÀÌ ÇÔ¼ö¿¡ Àü´ÞµÇ¾î URL¿¡ Ãß°¡µÇ¾î¾ßÇÕ´Ï´Ù. ¸Å°³ º¯¼ö¿¡ URL ($ day_number, $ URL)ÀÌÀÖ´Â URLÀº ÇöÀç ¿ùº¸±â¿¡¼ ƯÁ¤ ³¯Â¥ÀÇ URLÀ» ¼³Á¤ÇÕ´Ï´Ù. $ URL EQ 'Self's ÀÚü URLÀÌ ¸Å°³ º¯¼ö°¡ ¾øÀ¸¸é Self-Refence URLÀÌ contractedµË´Ï´Ù .URL_ALL ($ URL)Àº ´Þ·Â¿¡¼ ¸ÅÀÏ URLÀ» ¼³Á¤ÇÕ´Ï´Ù. $ URL ¸Å°³ º¯¼ö´Â URL () ¸Þ¼µå·Î Àü´ÞµË´Ï´Ù. DETATEDATE_SOURCE ()´Â DateSelfÀÇ ¼Ò½º¸¦ °¡¸®Å°´Â ½ºÆà (¿À´Ã) set_date-set_date ()°¡ uRLDRAW ()¿¡¼ Á¶Á¤ µÈ @ Ķ¸°´õ¸¦ ±×¸³´Ï´Ù. ¹è¿ ÄÁÅؽºÆ®¿¡¼ HTMLÀ» ¹ÝȯÇÏ°í Scalar Context.Date ()¿¡¼ $ MÀ» ÅëÇØ HTMLÀ» Ãâ·ÂÇÕ´Ï´Ù. ¹è¿ ÄÁÅؽºÆ®¿¡¼ ¹è¿ (yyyy, mm, dd)À» ¹ÝȯÇÏ°í Scalar Context.set_date (³¯Â¥)¿¡¼ ¸ÚÁö°Ô Çü½ÄÈ µÈ ³¯Â¥ 'dd.mm.yyyy'ÀÏÁ¤À» ³¯Â¥·Î Á¶Á¤ÇÕ´Ï´Ù. ¸Å°³ º¯¼ö´Â 'Áö±Ý'¶Ç´Â '¿À´Ã'³¯Â¥¸¦ Today'Cal_nmon ','´ÙÀ½ '¶Ç´Â'cal_pmon ','ÀÌÀü '- ´ÙÀ½ ¶Ç´Â ÀÌÀü ´Þ¿¡ ÀûÀÀ - Array Ref (YYYY, MM, DD) (YYYY, MM, DD) - (yyyy, mm, dd) 'dd.mm.yyyy'ÀÇ ¹è¿ - ¹®ÀÚ¿ ¿ä±¸ »çÇ× : ¡¤ Perl.
ePortal :: html :: Ķ¸°´õ °ü·Ã ¼ÒÇÁÆ®¿þ¾î