PHP 8.2.31
Preview: form-i.yaml Size: 1.54 KB
/proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/CGI/HtmlExtension/form-i.yaml

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: ""
comment: 
- !ruby/struct:SM::Flow::P 
  body: Generate a Form element as a string.
- !ruby/struct:SM::Flow::P 
  body: <tt>method</tt> should be either &quot;get&quot; or &quot;post&quot;, and defaults to the latter. <tt>action</tt> defaults to the current CGI script name. <tt>enctype</tt> defaults to &quot;application/x-www-form-urlencoded&quot;.
- !ruby/struct:SM::Flow::P 
  body: Alternatively, the attributes can be specified as a hash.
- !ruby/struct:SM::Flow::P 
  body: "See also #multipart_form() for forms that include file uploads."
- !ruby/struct:SM::Flow::VERB 
  body: "  form{ &quot;string&quot; }\n    # &lt;FORM METHOD=&quot;post&quot; ENCTYPE=&quot;application/x-www-form-urlencoded&quot;&gt;string&lt;/FORM&gt;\n\n  form(&quot;get&quot;) { &quot;string&quot; }\n    # &lt;FORM METHOD=&quot;get&quot; ENCTYPE=&quot;application/x-www-form-urlencoded&quot;&gt;string&lt;/FORM&gt;\n\n  form(&quot;get&quot;, &quot;url&quot;) { &quot;string&quot; }\n    # &lt;FORM METHOD=&quot;get&quot; ACTION=&quot;url&quot; ENCTYPE=&quot;application/x-www-form-urlencoded&quot;&gt;string&lt;/FORM&gt;\n\n  form(&quot;METHOD&quot; =&gt; &quot;post&quot;, &quot;ENCTYPE&quot; =&gt; &quot;enctype&quot;) { &quot;string&quot; }\n    # &lt;FORM METHOD=&quot;post&quot; ENCTYPE=&quot;enctype&quot;&gt;string&lt;/FORM&gt;\n"
full_name: CGI::HtmlExtension#form
is_singleton: false
name: form
params: (method = "post", action = script_name, enctype = "application/x-www-form-urlencoded") {|| ...}
visibility: public

Directory Contents

Dirs: 0 × Files: 23

Name Size Perms Modified Actions
1005 B lrw-r--r-- 2023-07-26 13:47:19
Edit Download
702 B lrw-r--r-- 2023-07-26 13:47:19
Edit Download
865 B lrw-r--r-- 2023-07-26 13:47:19
Edit Download
799 B lrw-r--r-- 2023-07-26 13:47:19
Edit Download
1.83 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
1.10 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
2.79 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
1.34 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
1.54 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
1.01 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
2.27 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
1.06 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
1.01 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
1.05 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
1.37 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
2.78 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
1.16 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
2.10 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
941 B lrw-r--r-- 2023-07-26 13:47:19
Edit Download
272 B lrw-r--r-- 2023-07-26 13:47:19
Edit Download
1.06 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
1000 B lrw-r--r-- 2023-07-26 13:47:19
Edit Download
1.48 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).