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

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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Generate a sequence of checkbox elements, as a String.
- !ruby/struct:SM::Flow::P 
  body: The checkboxes will all have the same <tt>name</tt> attribute. Each checkbox is followed by a label. There will be one checkbox for each value. Each value can be specified as a String, which will be used both as the value of the VALUE attribute and as the label for that checkbox. A single-element array has the same effect.
- !ruby/struct:SM::Flow::P 
  body: Each value can also be specified as a three-element array. The first element is the VALUE attribute; the second is the label; and the third is a boolean specifying whether this checkbox is CHECKED.
- !ruby/struct:SM::Flow::P 
  body: Each value can also be specified as a two-element array, by omitting either the value element (defaults to the same as the label), or the boolean checked element (defaults to false).
- !ruby/struct:SM::Flow::VERB 
  body: "  checkbox_group(&quot;name&quot;, &quot;foo&quot;, &quot;bar&quot;, &quot;baz&quot;)\n    # &lt;INPUT TYPE=&quot;checkbox&quot; NAME=&quot;name&quot; VALUE=&quot;foo&quot;&gt;foo\n    # &lt;INPUT TYPE=&quot;checkbox&quot; NAME=&quot;name&quot; VALUE=&quot;bar&quot;&gt;bar\n    # &lt;INPUT TYPE=&quot;checkbox&quot; NAME=&quot;name&quot; VALUE=&quot;baz&quot;&gt;baz\n\n  checkbox_group(&quot;name&quot;, [&quot;foo&quot;], [&quot;bar&quot;, true], &quot;baz&quot;)\n    # &lt;INPUT TYPE=&quot;checkbox&quot; NAME=&quot;name&quot; VALUE=&quot;foo&quot;&gt;foo\n    # &lt;INPUT TYPE=&quot;checkbox&quot; CHECKED NAME=&quot;name&quot; VALUE=&quot;bar&quot;&gt;bar\n    # &lt;INPUT TYPE=&quot;checkbox&quot; NAME=&quot;name&quot; VALUE=&quot;baz&quot;&gt;baz\n\n  checkbox_group(&quot;name&quot;, [&quot;1&quot;, &quot;Foo&quot;], [&quot;2&quot;, &quot;Bar&quot;, true], &quot;Baz&quot;)\n    # &lt;INPUT TYPE=&quot;checkbox&quot; NAME=&quot;name&quot; VALUE=&quot;1&quot;&gt;Foo\n    # &lt;INPUT TYPE=&quot;checkbox&quot; CHECKED NAME=&quot;name&quot; VALUE=&quot;2&quot;&gt;Bar\n    # &lt;INPUT TYPE=&quot;checkbox&quot; NAME=&quot;name&quot; VALUE=&quot;Baz&quot;&gt;Baz\n\n  checkbox_group(&quot;NAME&quot; =&gt; &quot;name&quot;,\n                   &quot;VALUES&quot; =&gt; [&quot;foo&quot;, &quot;bar&quot;, &quot;baz&quot;])\n\n  checkbox_group(&quot;NAME&quot; =&gt; &quot;name&quot;,\n                   &quot;VALUES&quot; =&gt; [[&quot;foo&quot;], [&quot;bar&quot;, true], &quot;baz&quot;])\n\n  checkbox_group(&quot;NAME&quot; =&gt; &quot;name&quot;,\n                   &quot;VALUES&quot; =&gt; [[&quot;1&quot;, &quot;Foo&quot;], [&quot;2&quot;, &quot;Bar&quot;, true], &quot;Baz&quot;])\n"
full_name: CGI::HtmlExtension#checkbox_group
is_singleton: false
name: checkbox_group
params: (name = "", *values)
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).