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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Sat Feb 22 20:56:27 2003 UTC (21 years, 6 months ago) by jonen
Branch: MAIN
Changes since 1.1: +157 -292 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:23:56 -0800' -->
6 <TITLE>Docs For Class GOtag</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 GOtag">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 GOtag
30 </H2> (line <span class="linenumber">111</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/WMLTagClass.html">WMLTagClass</a>
37 |
38 --GOtag</pre>
39 <SPAN class="type">Classes extended from GOtag:</SPAN>
40 <dl>
41 <dt><a href="../phpHtmlLib/PREVtag.html">PREVtag</a></dt>
42 <dd>&lt;PREV&gt; tag class</dd>
43 </dl>
44 </p>
45 <p>
46 <b><i>Located in File: Program_Root/tag_classes/WMLTAGS.inc</i></b><br>
47 </p>
48 <hr>
49 &lt;GO&gt; tag class
50 <br />
51
52 <UL>
53 <LI><b>author</b> - <CODE>Walter A. Boring IV &lt;<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>&gt;</CODE></LI>
54 </UL>
55 <hr>
56 <!-- =========== VAR SUMMARY =========== -->
57 <A NAME='var_summary'><!-- --></A>
58 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
59 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
60 <TD>
61 <span CLASS="font12bold">Class Variable Summary</span>
62 <A HREF="#top" CLASS="links">^TOP</A>
63 </TD>
64 </TR>
65
66 <!-- =========== Summary =========== -->
67 <TR BGCOLOR='white' CLASS='TableRowColor'>
68 <TD>
69 <CODE><B><A HREF="../phpHtmlLib/GOtag.html#var$_tag">$_tag</A></B></CODE>
70 <BR>
71 <blockquote> </blockquote>
72 <blockquote> Default Value: <CODE>->&nbsp;"go"<-</CODE> </blockquote>
73 </TD>
74 </TR>
75 </TABLE>
76 <hr>
77 <!-- =========== VAR INHERITED SUMMARY =========== -->
78 <A NAME='var_inherited_summary'><!-- --></A>
79 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
80 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
81 <TD>
82 <span CLASS="font12bold">Inherited Class Variable Summary</span>
83 <A HREF="#top" CLASS="links">^TOP</A>
84 </TD>
85 </TR>
86
87 <!-- =========== Summary =========== -->
88 <TR BGCOLOR='white'>
89 <TD>
90 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>
91 <table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
92 <tr CLASS="tableheadingcolor">
93 <th>Variable</th>
94 <th>Default Value</th>
95 <th>Description</th>
96 </tr>
97 <tr>
98 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#var$_flags">Container::$_flags</a></td>
99 <td CLASS="font10" STYLE="white-space: nowrap">-> _NEWLINEAFTERCONTENT<-</td>
100 <td CLASS="font10">The flags that tell us</td>
101 </tr>
102 </table>
103 <BR>
104 </TD>
105 </TR>
106 </TABLE>
107
108 <hr>
109 <!-- =========== METHOD SUMMARY =========== -->
110 <A NAME='method_summary'><!-- --></A>
111 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border">
112 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
113 <TD>
114 <span class="font12bold">Method Summary</span>
115 <A HREF="#top" CLASS="links">^TOP</A>
116 </TD>
117 </TR>
118
119 <!-- =========== Summary =========== -->
120 <TR BGCOLOR='white' CLASS='TableRowColor'>
121 <TD>
122 <CODE><B><A HREF='../phpHtmlLib/GOtag.html#method_prepare_flags'>void _prepare_flags ( )</A></B></CODE>
123 <BR>
124 <blockquote> we override this method to automatically check to see if the tag has content. </blockquote>
125 </TD>
126 </TR>
127 </TABLE>
128 <!-- =========== INHERITED METHOD SUMMARY =========== -->
129 <A NAME='functions_inherited'><!-- --></A>
130 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
131 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
132 <TD>
133 <span CLASS="font12bold">Inherited Method Summary</span>
134 <A HREF="#top" CLASS="links">^TOP</A>
135 </TD>
136 </TR>
137
138 <!-- =========== Summary =========== -->
139 <TR BGCOLOR='white' CLASS='TableRowColor'>
140 <TD>
141 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/WMLTagClass.html">WMLTagClass</a></span>
142 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
143 <tr CLASS="tableheadingcolor">
144 <th>Function</th>
145 <th>Description</th>
146 </tr>
147 <tr>
148 <td CLASS="font10bold"><a href="../phpHtmlLib/WMLTagClass.html#methodWMLTagClass">WMLTagClass::WMLTagClass()</a></td>
149 <td CLASS="font10"></td>
150 <tr>
151 <td CLASS="font10bold"><a href="../phpHtmlLib/WMLTagClass.html#methodset_class">WMLTagClass::set_class()</a></td>
152 <td CLASS="font10">This function is a shorthand helper to setting the class attribute on a tag.</td>
153 <tr>
154 <td CLASS="font10bold"><a href="../phpHtmlLib/WMLTagClass.html#methodset_id">WMLTagClass::set_id()</a></td>
155 <td CLASS="font10">This function is a shorthand helper to setting the id attribute on a tag.</td>
156 </table>
157 <br>
158 </TD>
159 </TR>
160 <!-- =========== Summary =========== -->
161 <TR BGCOLOR='white' CLASS='TableRowColor'>
162 <TD>
163 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span>
164 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
165 <tr CLASS="tableheadingcolor">
166 <th>Function</th>
167 <th>Description</th>
168 </tr>
169 <tr>
170 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodXMLTagClass">XMLTagClass::XMLTagClass()</a></td>
171 <td CLASS="font10">The constructor</td>
172 <tr>
173 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodget_tag">XMLTagClass::get_tag()</a></td>
174 <td CLASS="font10">This returns the tag declared for this class.</td>
175 <tr>
176 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodget_tag_name">XMLTagClass::get_tag_name()</a></td>
177 <td CLASS="font10">This method gets the name of the tag</td>
178 <tr>
179 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodrender">XMLTagClass::render()</a></td>
180 <td CLASS="font10">This function is responsible for rendering the tag and its contents</td>
181 <tr>
182 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodreset_attributes">XMLTagClass::reset_attributes()</a></td>
183 <td CLASS="font10">clear all attributes and start with new attributes</td>
184 <tr>
185 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_collapse">XMLTagClass::set_collapse()</a></td>
186 <td CLASS="font10">This function turns on the collapse flag</td>
187 <tr>
188 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_newline_after_closetag">XMLTagClass::set_newline_after_closetag()</a></td>
189 <td CLASS="font10">set the newline_after_content flag</td>
190 <tr>
191 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_newline_after_opentag">XMLTagClass::set_newline_after_opentag()</a></td>
192 <td CLASS="font10">set the newline_after_opentag flag</td>
193 <tr>
194 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_attribute">XMLTagClass::set_tag_attribute()</a></td>
195 <td CLASS="font10">add a single attribute (name="value")</td>
196 <tr>
197 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_attributes">XMLTagClass::set_tag_attributes()</a></td>
198 <td CLASS="font10">add multiple attributes (name="value")</td>
199 <tr>
200 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_name">XMLTagClass::set_tag_name()</a></td>
201 <td CLASS="font10">This method sets the name of the tag</td>
202 <tr>
203 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_build_attribute_string">XMLTagClass::_build_attribute_string()</a></td>
204 <td CLASS="font10">this builds an attribute for an XML tag.</td>
205 <tr>
206 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_get_element">XMLTagClass::_get_element()</a></td>
207 <td CLASS="font10">get the nth element from content array</td>
208 <tr>
209 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_prepare_flags">XMLTagClass::_prepare_flags()</a></td>
210 <td CLASS="font10">This function checks to see if</td>
211 <tr>
212 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_close_tag">XMLTagClass::_render_close_tag()</a></td>
213 <td CLASS="font10">this function is reposnsible for rendering the closing tag (if any)</td>
214 <tr>
215 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_content">XMLTagClass::_render_content()</a></td>
216 <td CLASS="font10">this function is reponsible for rendering the pcdata, or content of the tag (if any)</td>
217 <tr>
218 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_open_tag">XMLTagClass::_render_open_tag()</a></td>
219 <td CLASS="font10">this function is responsible for rendering the open tag.</td>
220 <tr>
221 <td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_set_flags">XMLTagClass::_set_flags()</a></td>
222 <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>
223 </table>
224 <br>
225 </TD>
226 </TR>
227 <!-- =========== Summary =========== -->
228 <TR BGCOLOR='white' CLASS='TableRowColor'>
229 <TD>
230 <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>
231 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
232 <tr CLASS="tableheadingcolor">
233 <th>Function</th>
234 <th>Description</th>
235 </tr>
236 <tr>
237 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></td>
238 <td CLASS="font10">The constructor.</td>
239 <tr>
240 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></td>
241 <td CLASS="font10">add content onto content stack</td>
242 <tr>
243 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></td>
244 <td CLASS="font10">Add content onto content stack so you can change the item later.</td>
245 <tr>
246 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></td>
247 <td CLASS="font10">counts the number of content objects</td>
248 <tr>
249 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></td>
250 <td CLASS="font10">This flag gets the current value of the indent flag</td>
251 <tr>
252 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></td>
253 <td CLASS="font10">Same as add().</td>
254 <tr>
255 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></td>
256 <td CLASS="font10">Same as add_reference NOTE : only exists for compatibility with 1.1.x</td>
257 <tr>
258 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></td>
259 <td CLASS="font10">This function is compatible with the rest of the phpHtmllib API spec.</td>
260 <tr>
261 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></td>
262 <td CLASS="font10">destroy existing content and start with new content.</td>
263 <tr>
264 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></td>
265 <td CLASS="font10">This function turns on the collapse flag</td>
266 <tr>
267 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></td>
268 <td CLASS="font10">function to set the indent flag</td>
269 <tr>
270 <td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#method_set_flags">Container::_set_flags()</a></td>
271 <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>
272 </table>
273 <br>
274 </TD>
275 </TR>
276 </TABLE>
277 <hr>
278 <!-- ============ VARIABLE DETAIL =========== -->
279
280 <A NAME='variable_detail'></A>
281 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
282 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
283 <TD>
284 <span CLASS="font12bold">Variable Detail</span>
285 <A HREF="#top" CLASS="links">^TOP</A>
286 </TD>
287 </TR>
288 </TABLE>
289
290 <A NAME='var$_tag'><!-- --></A><H3>$_tag</H3> (line <span class="linenumber">112</span>)<br />
291 <b>Data type:</b> mixed<br>
292 <br />
293
294 <UL>
295 </UL>
296 <HR>
297 <hr>
298 <!-- ============ METHOD DETAIL =========== -->
299
300 <A NAME='method_detail'></A>
301 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
302 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
303 <TD>
304 <span class="font12bold">Method Detail</span>
305 <A HREF="#top" CLASS="links">^TOP</A>
306 </TD>
307 </TR>
308 </TABLE>
309 <BR>
310 <DIV CLASS="function">
311 <A NAME='method_prepare_flags'><!-- --></A>
312 <SPAN CLASS="font12bold">_prepare_flags</SPAN> (line <span class="linenumber">122</span>)
313 <BR>
314 <SPAN CLASS="font10bold">Usage : </SPAN>
315 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
316 <span class="font10bold" style="color: #0000FF">_prepare_flags(
317 )</SPAN>
318 <BR>
319
320 <BR>
321 <SPAN CLASS="font10bold">Description : </SPAN>
322 we override this method to automatically check to see if the tag has content.
323 <br />
324 <p>if it doesn't then we don't need to render the close tag.</p>
325 <DL>
326
327 <DT class="font10bold">Function Info:</DT>
328 </DL>
329 </DIV>
330 <BR>
331 <div id="credit">
332 <hr>
333 Documention generated on Thu, 20 Feb 2003 16:23:56 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a>
334 </div>
335 </body>
336 </html>

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