/[cvs]/nfo/php/libs/com.newsblob.phphtmllib/doc/phpHtmlLib/OPTGROUPtag.html
ViewVC logotype

Contents of /nfo/php/libs/com.newsblob.phphtmllib/doc/phpHtmlLib/OPTGROUPtag.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Sat Feb 22 20:56:31 2003 UTC (21 years, 6 months ago) by jonen
Branch: MAIN
Changes since 1.1: +143 -319 lines
File MIME type: text/html
+ updated whole lib to version 2.2.1 (new FormProcessing since 2.2.0!)

1 <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN' 'http://www.w3.org/TR/REC-html40/loose.dtd'>
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by PhpDoc date: 'Thu, 20 Feb 2003 16:22:17 -0800' -->
6 <TITLE>Docs For Class OPTGROUPtag</TITLE>
7 <LINK REL ='stylesheet' TYPE='text/css' HREF='../media/stylesheet.css' TITLE='Style'>
8 </HEAD>
9 <BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;">
10 <!-- Links -->
11 <a NAME="top"></A>
12 <table WIDTH="100%" class="links">
13 <TR>
14 <TD class="font10">
15 Links:
16 <A HREF="#children_summary" class="links" title="Classes extended from OPTGROUPtag">Child Classes</A>
17 <A HREF="#var_summary" class="links" title="Class Variable Summary">Variables</A>
18 <A HREF="#var_inherited_summary" class="links" title="Inherited Class Variable Summary">Inherited Variables</A>
19 <A HREF="#functions_inherited" class="links" title="Inherited Method Summary">Inherited Methods</A>
20 <A HREF="#method_summary" class="links" title="Method Summary">Methods</A>
21 <A HREF="#variable_detail" class="links" title="Variable Detail">Variable Detail</A>
22 <A HREF="#method_detail" class="links" title="Method Detail">Method Detail</A>
23 </TD>
24 </TR>
25 </TABLE>
26 <BR>
27 <!-- Start of Class Data -->
28 <H2>
29 Class OPTGROUPtag
30 </H2> (line <span class="linenumber">956</span>)
31 <pre>
32 <a href="../phpHtmlLib/Container.html">Container</a>
33 |
34 --<a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a>
35 |
36 --<a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a>
37 |
38 --OPTGROUPtag</pre>
39 <p>
40 <b><i>Located in File: Program_Root/tag_classes/ALLTAGS.inc</i></b><br>
41 </p>
42 <hr>
43 &lt;OPTGROUP&gt; tag class
44 <br />
45 <p>Defines an option group. This element allows you to group choices. When you have a long list of options, groups of related choices are easier to handle.</p>
46 <UL>
47 <LI><b>author</b> - <CODE>Walter A. Boring IV &lt;<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>&gt;</CODE></LI>
48 </UL>
49 <hr>
50 <!-- =========== VAR SUMMARY =========== -->
51 <A NAME='var_summary'><!-- --></A>
52 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
53 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
54 <TD>
55 <span CLASS="font12bold">Class Variable Summary</span>
56 <A HREF="#top" CLASS="links">^TOP</A>
57 </TD>
58 </TR>
59
60 <!-- =========== Summary =========== -->
61 <TR BGCOLOR='white' CLASS='TableRowColor'>
62 <TD>
63 <CODE><B><A HREF="../phpHtmlLib/OPTGROUPtag.html#var$_tag">$_tag</A></B></CODE>
64 <BR>
65 <blockquote> </blockquote>
66 <blockquote> Default Value: <CODE>->&nbsp;"optgroup"<-</CODE> </blockquote>
67 </TD>
68 </TR>
69 </TABLE>
70 <hr>
71 <!-- =========== VAR INHERITED SUMMARY =========== -->
72 <A NAME='var_inherited_summary'><!-- --></A>
73 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
74 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
75 <TD>
76 <span CLASS="font12bold">Inherited Class Variable Summary</span>
77 <A HREF="#top" CLASS="links">^TOP</A>
78 </TD>
79 </TR>
80
81 <!-- =========== Summary =========== -->
82 <TR BGCOLOR='white'>
83 <TD>
84 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>
85 <table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
86 <tr CLASS="tableheadingcolor">
87 <th>Variable</th>
88 <th>Default Value</th>
89 <th>Description</th>
90 </tr>
91 <tr>
92 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#var$_flags">Container::$_flags</a></td>
93 <td CLASS="font10" STYLE="white-space: nowrap">-> _NEWLINEAFTERCONTENT<-</td>
94 <td CLASS="font10">The flags that tell us</td>
95 </tr>
96 </table>
97 <BR>
98 </TD>
99 </TR>
100 </TABLE>
101
102 <hr>
103 <!-- =========== METHOD SUMMARY =========== -->
104 <A NAME='method_summary'><!-- --></A>
105 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border">
106 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
107 <TD>
108 <span class="font12bold">Method Summary</span>
109 <A HREF="#top" CLASS="links">^TOP</A>
110 </TD>
111 </TR>
112
113 </TABLE>
114 <!-- =========== INHERITED METHOD SUMMARY =========== -->
115 <A NAME='functions_inherited'><!-- --></A>
116 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
117 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
118 <TD>
119 <span CLASS="font12bold">Inherited Method Summary</span>
120 <A HREF="#top" CLASS="links">^TOP</A>
121 </TD>
122 </TR>
123
124 <!-- =========== Summary =========== -->
125 <TR BGCOLOR='white' CLASS='TableRowColor'>
126 <TD>
127 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a></span>
128 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
129 <tr CLASS="tableheadingcolor">
130 <th>Function</th>
131 <th>Description</th>
132 </tr>
133 <tr>
134 <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodHTMLTagClass">HTMLTagClass::HTMLTagClass()</a></td>
135 <td CLASS="font10">Class Constructor</td>
136 <tr>
137 <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodrender">HTMLTagClass::render()</a></td>
138 <td CLASS="font10">Renders the tag, attributes, content and close tag.</td>
139 <tr>
140 <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodset_class">HTMLTagClass::set_class()</a></td>
141 <td CLASS="font10">This function is a shorthand helper to setting the class attribute on a tag.</td>
142 <tr>
143 <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodset_id">HTMLTagClass::set_id()</a></td>
144 <td CLASS="font10">This function is a shorthand helper to setting the id attribute on a tag.</td>
145 <tr>
146 <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodset_style">HTMLTagClass::set_style()</a></td>
147 <td CLASS="font10">This function is a shorthand helper to setting the style attribute on a tag.</td>
148 <tr>
149 <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#method_build_attribute_string">HTMLTagClass::_build_attribute_string()</a></td>
150 <td CLASS="font10">this builds an attribute for a tag.</td>
151 <tr>
152 <td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#method_render_tag_debug">HTMLTagClass::_render_tag_debug()</a></td>
153 <td CLASS="font10">This renders that open tag in debug mode.</td>
154 </table>
155 <br>
156 </TD>
157 </TR>
158 <!-- =========== Summary =========== -->
159 <TR BGCOLOR='white' CLASS='TableRowColor'>
160 <TD>
161 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span>
162 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
163 <tr CLASS="tableheadingcolor">
164 <th>Function</th>
165 <th>Description</th>
166 </tr>
167 <tr>
168 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodXMLTagClass">XMLTagClass::XMLTagClass()</a></td>
169 <td CLASS="font10">The constructor</td>
170 <tr>
171 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodget_tag">XMLTagClass::get_tag()</a></td>
172 <td CLASS="font10">This returns the tag declared for this class.</td>
173 <tr>
174 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodget_tag_name">XMLTagClass::get_tag_name()</a></td>
175 <td CLASS="font10">This method gets the name of the tag</td>
176 <tr>
177 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodrender">XMLTagClass::render()</a></td>
178 <td CLASS="font10">This function is responsible for rendering the tag and its contents</td>
179 <tr>
180 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodreset_attributes">XMLTagClass::reset_attributes()</a></td>
181 <td CLASS="font10">clear all attributes and start with new attributes</td>
182 <tr>
183 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_collapse">XMLTagClass::set_collapse()</a></td>
184 <td CLASS="font10">This function turns on the collapse flag</td>
185 <tr>
186 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_newline_after_closetag">XMLTagClass::set_newline_after_closetag()</a></td>
187 <td CLASS="font10">set the newline_after_content flag</td>
188 <tr>
189 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_newline_after_opentag">XMLTagClass::set_newline_after_opentag()</a></td>
190 <td CLASS="font10">set the newline_after_opentag flag</td>
191 <tr>
192 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_attribute">XMLTagClass::set_tag_attribute()</a></td>
193 <td CLASS="font10">add a single attribute (name="value")</td>
194 <tr>
195 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_attributes">XMLTagClass::set_tag_attributes()</a></td>
196 <td CLASS="font10">add multiple attributes (name="value")</td>
197 <tr>
198 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_name">XMLTagClass::set_tag_name()</a></td>
199 <td CLASS="font10">This method sets the name of the tag</td>
200 <tr>
201 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_build_attribute_string">XMLTagClass::_build_attribute_string()</a></td>
202 <td CLASS="font10">this builds an attribute for an XML tag.</td>
203 <tr>
204 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_get_element">XMLTagClass::_get_element()</a></td>
205 <td CLASS="font10">get the nth element from content array</td>
206 <tr>
207 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_prepare_flags">XMLTagClass::_prepare_flags()</a></td>
208 <td CLASS="font10">This function checks to see if</td>
209 <tr>
210 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_close_tag">XMLTagClass::_render_close_tag()</a></td>
211 <td CLASS="font10">this function is reposnsible for rendering the closing tag (if any)</td>
212 <tr>
213 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_content">XMLTagClass::_render_content()</a></td>
214 <td CLASS="font10">this function is reponsible for rendering the pcdata, or content of the tag (if any)</td>
215 <tr>
216 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_open_tag">XMLTagClass::_render_open_tag()</a></td>
217 <td CLASS="font10">this function is responsible for rendering the open tag.</td>
218 <tr>
219 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_set_flags">XMLTagClass::_set_flags()</a></td>
220 <td CLASS="font10">This method is used to set the bitmask flags for this tag. It tells the class how to render the tag.</td>
221 </table>
222 <br>
223 </TD>
224 </TR>
225 <!-- =========== Summary =========== -->
226 <TR BGCOLOR='white' CLASS='TableRowColor'>
227 <TD>
228 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>
229 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
230 <tr CLASS="tableheadingcolor">
231 <th>Function</th>
232 <th>Description</th>
233 </tr>
234 <tr>
235 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></td>
236 <td CLASS="font10">The constructor.</td>
237 <tr>
238 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></td>
239 <td CLASS="font10">add content onto content stack</td>
240 <tr>
241 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></td>
242 <td CLASS="font10">Add content onto content stack so you can change the item later.</td>
243 <tr>
244 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></td>
245 <td CLASS="font10">counts the number of content objects</td>
246 <tr>
247 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></td>
248 <td CLASS="font10">This flag gets the current value of the indent flag</td>
249 <tr>
250 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></td>
251 <td CLASS="font10">Same as add().</td>
252 <tr>
253 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></td>
254 <td CLASS="font10">Same as add_reference NOTE : only exists for compatibility with 1.1.x</td>
255 <tr>
256 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></td>
257 <td CLASS="font10">This function is compatible with the rest of the phpHtmllib API spec.</td>
258 <tr>
259 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></td>
260 <td CLASS="font10">destroy existing content and start with new content.</td>
261 <tr>
262 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></td>
263 <td CLASS="font10">This function turns on the collapse flag</td>
264 <tr>
265 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></td>
266 <td CLASS="font10">function to set the indent flag</td>
267 <tr>
268 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#method_set_flags">Container::_set_flags()</a></td>
269 <td CLASS="font10">This method is used to set the bitmask flags for this tag. It tells the class how to render the tag.</td>
270 </table>
271 <br>
272 </TD>
273 </TR>
274 </TABLE>
275 <hr>
276 <!-- ============ VARIABLE DETAIL =========== -->
277
278 <A NAME='variable_detail'></A>
279 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
280 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
281 <TD>
282 <span CLASS="font12bold">Variable Detail</span>
283 <A HREF="#top" CLASS="links">^TOP</A>
284 </TD>
285 </TR>
286 </TABLE>
287
288 <A NAME='var$_tag'><!-- --></A><H3>$_tag</H3> (line <span class="linenumber">957</span>)<br />
289 <b>Data type:</b> mixed<br>
290 <br />
291
292 <UL>
293 </UL>
294 <HR>
295 <hr>
296 <!-- ============ METHOD DETAIL =========== -->
297
298 <A NAME='method_detail'></A>
299 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
300 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
301 <TD>
302 <span class="font12bold">Method Detail</span>
303 <A HREF="#top" CLASS="links">^TOP</A>
304 </TD>
305 </TR>
306 </TABLE>
307 <BR>
308 <div id="credit">
309 <hr>
310 Documention generated on Thu, 20 Feb 2003 16:22:17 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a>
311 </div>
312 </body>
313 </html>

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed