Ŭ·¡½º :: dbi :: plugin :: filteronclick.Ŭ·¡½º :: DBI :: PlugIn :: FilterOnClickÀº Ž»ö ¹× °Ë»ö °¡´ÉÇÑ HTML Å×À̺íÀ» »ý¼ºÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. | |
Áö±Ý ´Ù¿î·Îµå |
Ŭ·¡½º :: dbi :: plugin :: filteronclick. ¼øÀ§ ¹× ¿ä¾à
±¤°í
- ƯÇã:
- Perl Artistic License
- °¡°Ý:
- FREE
- °Ô½ÃÀÚ À̸§:
- Aaron Johnson
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~aaronjj/Class-DBI-Plugin-FilterOnClick-1.0/FilterOnClick.pm
Ŭ·¡½º :: dbi :: plugin :: filteronclick. ű×
Ŭ·¡½º :: dbi :: plugin :: filteronclick. ¼³¸í
class :: dbi :: plugin :: filteronClickÀº Ž»ö °¡´ÉÇÏ°í °Ë»ö °¡´ÉÇÑ HTML Å×À̺íÀ» »ý¼ºÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. class :: dbi :: plugin :: filteronclickÀº Ŭ·¡½º :: dbi.synopsis # ³»ºÎ¿¡¼ filterOnClickÀ» »ç¿ëÇÏ¿© filteronclickÀ» »ç¿ëÇÏ¿© Ž»ö °¡´ÉÇÏ°í °Ë»ö °¡´ÉÇÑ HTML Å×À̺íÀ» »ý¼ºÇÏ´Â perl ¸ðµâÀÔ´Ï´Ù. ´ÙÀ½ ÇàÀ» Ãß°¡ÇÕ´Ï´Ù. Ŭ·¡½º »ç¿ë :: dbi :: plugin :: filteronclick; Ŭ·¡½º :: DBI :: È£Ãâ±â; Ŭ·¡½º :: DBI :: AbstractSearch; Ŭ·¡½º :: DBI :: Plugin :: AbstractCount; Ŭ·¡½º :: DBI :: Plugin :: RetrieVeall; ..... ½ºÅ©¸³Æ® ¾È¿¡¼ ÇÊ¿ä¿¡ µû¶ó Å×À̺í Ŭ·¡½º ¶Ç´Â °´Ã¼ ¿¡¼ÀÌ ¸ðµâ # ¸Þ¼Òµå¸¦ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. classDbiBaseClass¸¦ »ç¿ëÇϽʽÿÀ; URI :: Å»Ãâ; CGI »ç¿ë; ³» $ cgi = cgi-> new (); ³» % params; {$ params {$ _} = uri_unescape ($ cgi-> param ( "$ _"))} $ cgi-> param (); $ filteronclick = baseball :: master-> filteronclick (-config_file => /srv/www/cgi-bin/baseball.ini ', # -rows => $ cgi-> param ('Çà) || 15, -on_Page => $ cgi-> param ( 'page') || 1, -params => % params); $ filteronclick-> field_to_column (lastname => 'last name'. $ html-> order_by_link ( 'lastname'), firstname => 'first name'. $ html-> order_by_link ( 'firstname'), ¹ÚÁã => '¹ÚÁã' , throws => 'throws', ht_ft => 'height ft ft ft', ht_in => 'in', wt => 'weight', binishyear => binishyear ', birthstate =>'birthstate ', _filteronclickcustom1_ =>'±âŸ µ¥ÀÌÅÍ ', _FilteronClickCustom2_ =>'´õ ¸¹Àº µ¥ÀÌÅÍ '); FilterOnClickCustom $ filteronclick-> data_table-> addRow ( '¼º', 'À̸§', '¹ÚÁã', '´øÁü', '³ôÀÌ (ÇÇÆ®)', '(ÀÎÄ¡)', '¹«°Ô', 'Ãâ»ý ³â' ...¿¡ $ filteronclick-> params ($ cgi-> vars;); $ filteronclick-> exclude_from_url (); # Á¦¿Ü ÇÒ ¿À» ³ªÅ¸³À´Ï´Ù. À§ÀÇ µð½ºÇ÷¹ÀÌÀÇ ¿ª¼ö´Â ±¸¼º ÆÄÀÏÀ» Á¦°ø ÇÒ ¼ö ÀÖ½À´Ï´Ù. $ filteronclick-> exclude_columns (); # ±âº» Ŭ·¡½º¸¦ »ç¿ëÇÏ¿© ÀÛµ¿ÇÏ·Á¸é ¼±Åà »çÇ×ÀÔ´Ï´Ù. # class :: dbi :: plugin :: filterOnClick ´ë È£ÃâÀ» ÅëÇØ °´Ã¼¸¦ ¸¸µé¾î¾ßÇÏ´Â °æ¿ì :: dbi sub Ŭ·¡½º # class :: dbi sub class # ÀÌ°ÍÀº ¿Ã¹Ù¸¥ ÇÏÀ§¸¦ º¸ÀåÇÕ´Ï´Ù. Ŭ·¡½º´Â µ¥ÀÌÅÍ ¼öÁý $ filteronclick-> cdbi_class ( 'baseball :: master')¿¡ »ç¿ëµË´Ï´Ù. # $ filteronclick-> navigation_style ( 'µÑ ´Ù')¸¦ Á¦°øÇϱâÀ§ÇÑ Å½»ö ½ºÅ¸ÀÏÀ» ³ªÅ¸³À´Ï´Ù. QQ QQ ~ ¼ºÀÇ Ã¹ ±ÛÀÚ·Î ÇÊÅ͸µ ~; $ filteronclick-> string_filter_navigation (-column => 'lastname', -position => 'begins')¸¦ ÀμâÇϽʽÿÀ. QQ Àμâ ~~; $ filteronclick-> Àü¿ë ( 'firstname'); Àμâ $ filteronclick-> build_table (_filteronclickcustom1_ => sub {my $ pid = shift; ±âº» Å×À̺íÀÇ ·¹ÄÚµåÀÇ ·¹ÄÚµåÀÇ ±âº» ID°¡ @status_objects = baseball :: allstars-> °Ë»ö (lahmanid => $ pid); if (@status_objects) {³» $ sear; $ sit (@status_objects) {$ sears. = $ st -> year (). ";} $ ¿¬·ÉÀ» ¹ÝȯÇÕ´Ï´Ù.} 'na';}, _FilteronClickCustom2_ => Sub {My $ PID = Shift; # PID = ±âº» Å×À̺íÀÇ ·¹ÄÚµåÀÇ ±âº» ID°¡ @status_objects = BaseBall :: Allstars-> °Ë»ö (lahmanid => $ pid); if (@status_objects) {my $ ÆÀ; foreach $ st (@status_objects) {$ ÆÀ. = $ st-> ÆÀ (). "";} $ ÆÀÀ» µ¹·ÁÁֽʽÿÀ.} 'na'¸¦ ¹ÝȯÇÕ´Ï´Ù.},); MY $ NAV = $ filteronclick-> html_table_navigation (); QQ! $ NAVN!; $ filteronclick-> add_bottom_span ($ nav); $ FilterOnClick-> Data_TableÀ» ÀμâÇϽʽÿÀ. .8 ¸±¸®½ºÀÇ °æ°í¸¦ ¾÷±×·¹À̵åÇÏ´Â ¹æ¹ý°ú ÀÛ¾÷ ¹æ¹ýÀÌ º¯°æµÇ¾ú½À´Ï´Ù. ÀÌÀü ¹öÀüÀ¸·Î ±¸Ãà µÈ ½ºÅ©¸³Æ®°¡ Áß´Ü µÉ °¡´É¼ºÀÌ Å®´Ï´Ù. ¾Æ·¡ÀÇ ¸±¸®½º¸¦ »ç¿ëÇÏ¿© ÀÛ¼ºµÈ ½ºÅ©¸³Æ®¿¡ ºÎÁ¤ÀûÀÎ ¿µÇâÀ» ¹ÌÄ¥ ¼öÀִ ƯÁ¤ º¯°æ »çÇ×À» ãÀ¸·Á¸é ¾Æ·¡¸¦ ÂüÁ¶ÇϽʽÿÀ. 1.0 ¸±¸®½º¿¡´Â ÀϺΠÃÔ¿µ¿¡¼ ÇÁ·Î´ö¼Ç ȯ°æ¿¡¼ ¾÷±×·¹À̵åÇϱâ Àü¿¡ ½ºÅ©¸³Æ®¸¦ Å×½ºÆ® ÇÒ ¼öÀÖ´Â »ç¼ÒÇÑ ¼öÁ¤ÀÌ Æ÷ÇԵǾî ÀÖ½À´Ï´Ù.ÀÌ ¸ðµâÀÇ Àǵµ´Â HTMLÀ» ÀÛ¼ºÇÏÁö ¾Ê°íµµ ºê¶ó¿ìÀú ¹× °Ë»ö °¡´ÉÇÑ HTML Å×À̺íÀÇ »ý¼ºÀ» ´Ü¼øÈÇÏ´Â °ÍÀÔ´Ï´Ù. ½ºÅ©¸³Æ® ¶Ç´Â ÅÛÇø´¿¡¼. Embperl, Apache :: ASP ¶Ç´Â CGI¿Í °°Àº ´Ù¸¥ ÇÁ·¹ÀÓ ¿öÅ© ³»ºÎ¿¡¼ »ç¿ëÇϱâÀ§ÇÑ °ÍÀÔ´Ï´Ù. ±×°ÍÀº ÀÚü ÇÁ·¹ÀÓ ¿öÅ©°¡µÇ±â¸¦ ¿¸ÁÇÏÁö ¾Ê½À´Ï´Ù. Ŭ·¡½º :: DBI¸¦ »ç¿ëÇÏ´Â ÇÁ·¹ÀÓ ¿öÅ©¸¦ ã°íÀÖ´Â °æ¿ìÀÌ ¸ðµâÀÇ ¸ñÀû¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ ³»¿ëÀº MayPole ¶Ç´Â Catalyst Module.see filternClickÀ» Á¦¾ÈÇÕ´Ï´Ù.ÀÌ ¸ðµâÀº HTML :: Å×À̺íÀ» »ç¿ëÇÏ¿© ÀÛ¼ºµË´Ï´Ù. HTML :: Å×À̺íÀÇ »ç¿ëÀº SQL ¹® ¿ÜºÎÀÇ µ¥ÀÌÅ͸¦ ½±°Ô Á¶ÀÛ ÇÒ ¼öÀÖ´Â ¿©·¯ °¡Áö °í±Þ Á¤·Ä ±â¼úÀ» Çã¿ëÇϱ⠶§¹®¿¡ ¼±ÅõǾú½À´Ï´Ù. ÀÌ´Â Á¤·Ä ·çƾÀ» Á¦°ø / Å×½ºÆ®ÇÏ·Á´Â ½Ã³ª¸®¿À¿¡¼ ¸Å¿ì À¯¿ëÇϸç SQLÀ» ÀÛ¼ºÇÏÁö ¾Ê½À´Ï´Ù. ÀÌ À¯Æ¿¸®Æ¼¸¦ »ç¿ëÇϸéÀÌ À¯Æ¿¸®Æ¼¸¦ È°¿ëÇÒ ÇÊ¿ä°¡ ¾øÁö¸¸ÀÌ ¸ðµâÀÇ ÀÎÅÍÆäÀ̽º, »ç¿ë¹ý, ¹®¼È µîÀ» Ž»ö ÇؾßÇÏ´Â °æ¿ì ¿É¼ÇÀÌ Àû¿ëµË´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.
Ŭ·¡½º :: dbi :: plugin :: filteronclick. °ü·Ã ¼ÒÇÁÆ®¿þ¾î
net :: Google :: response.
NET :: Google :: Response´Â Google SOAP API °Ë»ö ÀÀ´ä¿¡ ´ëÇÑ °£´ÜÇÑ OOP-ISH ÀÎÅÍÆäÀ̽ºÀÔ´Ï´Ù. ...
156
ÆÄÀÏ :: À¯Çü :: Builder.
file :: type :: Builder´Â MIME-MagicÀ» ÆĽÌÇÏ°í Äڵ带 »ý¼ºÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. ...
145