Gestionnaire de fichiers - Editer - /opt/cpanel/ea-ruby24/root/usr/share/ri/system/CGI/HtmlExtension/popup_menu-i.ri
Arrière
U:RDoc::AnyMethod[iI"popup_menu:EFI""CGI::HtmlExtension#popup_menu;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"+Generate a Select element as a string.;To:RDoc::Markup::BlankLine o; ; [ I"K+name+ is the name of the element. The +values+ are the options that ;TI"Jcan be selected from the Select menu. Each value can be a String or ;TI"Ga one, two, or three-element Array. If a String or a one-element ;TI"MArray, this is both the value of that option and the text displayed for ;TI"Qit. If a three-element Array, the elements are the option value, displayed ;TI"Rtext, and a boolean value specifying whether this option starts as selected. ;TI"QThe two-element version omits either the option value (defaults to the same ;TI"Pas the display text) or the boolean selected specifier (defaults to false).;T@o; ; [I"JThe attributes and options can also be specified as a hash. In this ;TI"Kcase, options are specified as an array of values as described above, ;TI"#with the hash key of "VALUES".;T@o:RDoc::Markup::Verbatim; [!I"-popup_menu("name", "foo", "bar", "baz") ;TI" # <SELECT NAME="name"> ;TI", # <OPTION VALUE="foo">foo</OPTION> ;TI", # <OPTION VALUE="bar">bar</OPTION> ;TI", # <OPTION VALUE="baz">baz</OPTION> ;TI" # </SELECT> ;TI" ;TI"7popup_menu("name", ["foo"], ["bar", true], "baz") ;TI" # <SELECT NAME="name"> ;TI", # <OPTION VALUE="foo">foo</OPTION> ;TI"5 # <OPTION VALUE="bar" SELECTED>bar</OPTION> ;TI", # <OPTION VALUE="baz">baz</OPTION> ;TI" # </SELECT> ;TI" ;TI"Apopup_menu("name", ["1", "Foo"], ["2", "Bar", true], "Baz") ;TI" # <SELECT NAME="name"> ;TI"* # <OPTION VALUE="1">Foo</OPTION> ;TI"3 # <OPTION SELECTED VALUE="2">Bar</OPTION> ;TI", # <OPTION VALUE="Baz">Baz</OPTION> ;TI" # </SELECT> ;TI" ;TI"Cpopup_menu("NAME" => "name", "SIZE" => 2, "MULTIPLE" => true, ;TI"H "VALUES" => [["1", "Foo"], ["2", "Bar", true], "Baz"]) ;TI"0 # <SELECT NAME="name" MULTIPLE SIZE="2"> ;TI"* # <OPTION VALUE="1">Foo</OPTION> ;TI"3 # <OPTION SELECTED VALUE="2">Bar</OPTION> ;TI", # <OPTION VALUE="Baz">Baz</OPTION> ;TI" # </SELECT>;T:@format0: @fileI"lib/cgi/html.rb;T:0@omit_headings_from_table_of_contents_below000[[I"scrolling_list;Fo;; [ ;@<;0I"(name = "", *values);T@<FI"HtmlExtension;FcRDoc::NormalModule00
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0 |
proxy
|
phpinfo
|
Réglages