HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/share/ri/3.0.0/system/CGI/HtmlExtension/popup_menu-i.ri
U:RDoc::AnyMethod[iI"popup_menu:ETI""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::BlankLineo;
;	[
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;To;;	[;@<;0I"(name = "", *values);T@<FI"HtmlExtension;TcRDoc::NormalModule00