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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Thu Jan 30 03:29:34 2003 UTC (21 years, 6 months ago) by jonen
Branch: MAIN
Branch point for: no_vendor_tag
File MIME type: text/html
Initial revision

1 jonen 1.1 <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Frameset//EN''http://www.w3.org/TR/REC-html40/frameset.dtd'>
2     <!--NewPage-->
3     <HTML>
4     <HEAD>
5     <!-- Generated by PhpDoc date: 'Mon, 25 Nov 2002 09:21:40 -0800' -->
6     <TITLE>Docs For Class GOtag</TITLE>
7     <LINK REL ='stylesheet' TYPE='text/css' HREF='stylesheet.css' TITLE='Style'>
8     </HEAD>
9     <BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;">
10    
11    
12     <!-- Links -->
13     <a NAME="top"></A>
14     <table WIDTH="100%" class="links">
15     <TR>
16     <TD class="font10">
17     Links:
18     <A HREF="#children_summary" class="links" title="Classes extended from GOtag">Child Classes</A>
19     <A HREF="#var_summary" class="links" title="Class Variable Summary">Variables</A>
20     <A HREF="#var_inherited_summary" class="links" title="Inherited Class Variable Summary">Inherited Variables</A>
21     <A HREF="#functions_inherited" class="links" title="Inherited Method Summary">Inerited Methods</A>
22     <A HREF="#functions_summary" class="links" title="Method Summary">Methods</A>
23     <A HREF="#variable_detail" class="links" title="Variable Detail">Variable Detail</A>
24     <A HREF="#function_detail" class="links" title="Method Detail">Method Detail</A>
25     </TD>
26     </TR>
27     </TABLE>
28     <BR>
29    
30     <!-- Start of Class Data -->
31     <H2>
32     Class GOtag
33     </H2>
34    
35     <pre>
36     <pre><a href="../phpHtmlLib/Container.html">Container</a>
37     |
38     --<a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a>
39     |
40     --<a href="../phpHtmlLib/WMLTagClass.html">WMLTagClass</a>
41     |
42     --GOtag</pre>
43     </pre>
44    
45     <A NAME="children_summary"</A>
46     <H3>
47     Classes extended from GOtag: <A HREF="#top" CLASS="links">^TOP</A>
48     </H3>
49     <a href="../phpHtmlLib/PREVtag.html">PREVtag</a>
50     <p>
51     <b><i>Located in File: Program_Root/tag_classes/WMLTAGS.inc</i></b><br>
52     </p>
53     <hr>
54     <!-- ========== Info from phpDoc block ========= -->
55     &lt;GO&gt; tag class
56     <BR>
57    
58    
59     <UL>
60    
61     <LI><b>Package</b> - <CODE>phpHtmlLib</CODE></LI>
62    
63     </UL>
64    
65     <hr>
66     <!-- =========== VAR SUMMARY =========== -->
67     <A NAME='var_summary'><!-- --></A>
68     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
69     <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
70     <TD>
71     <span CLASS="font12bold">Class Variable Summary</span>
72     <A HREF="#top" CLASS="links">^TOP</A>
73     </TD>
74     </TR>
75    
76    
77     <!-- =========== Summary =========== -->
78     <TR BGCOLOR='white' CLASS='TableRowColor'>
79     <TD>
80     <CODE><B><A HREF='GOtag.html#$_tag'>$_tag</A></B></CODE>
81     <BR>
82     <blockquote> </blockquote>
83     <blockquote> Default Value: <CODE>->go<-</CODE> </blockquote>
84     </TD>
85     </TR>
86    
87     </TABLE>
88    
89     <hr>
90     <!-- =========== VAR INHERITED SUMMARY =========== -->
91     <A NAME='var_inherited_summary'><!-- --></A>
92     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
93     <TR CLASS='TableHeadingColor'>
94     <TD>
95     <span CLASS="font12bold">Inherited Class Variable Summary</span>
96     <A HREF="#top" CLASS="links">^TOP</A>
97     </TD>
98     </TR>
99    
100    
101     <!-- =========== Summary =========== -->
102     <TR BGCOLOR='white'>
103     <TD>
104     <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span>
105     <table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
106     <tr CLASS="tableheadingcolor">
107     <th>Variable</th>
108     <th>Default Value</th>
109     <th>Description</th>
110     </tr>
111    
112     <tr>
113     <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$newline_after_closetag'>$newline_after_closetag</A></td>
114     <td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td>
115     <td CLASS="font10">Flag to place a newline after close tag.</td>
116     </tr>
117    
118     <tr>
119     <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$newline_after_opentag'>$newline_after_opentag</A></td>
120     <td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td>
121     <td CLASS="font10">Flag to place a newline after open tag.</td>
122     </tr>
123    
124     <tr>
125     <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$_cdata_content_wrap'>$_cdata_content_wrap</A></td>
126     <td CLASS="font10" STYLE="white-space: nowrap">->FALSE<-</td>
127     <td CLASS="font10">Automatically wrap ALL content</td>
128     </tr>
129    
130     <tr>
131     <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$_tag_postfix'>$_tag_postfix</A></td>
132     <td CLASS="font10" STYLE="white-space: nowrap">->&gt;<-</td>
133     <td CLASS="font10">holds the tag postfix</td>
134     </tr>
135    
136     <tr>
137     <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$_tag_prefix'>$_tag_prefix</A></td>
138     <td CLASS="font10" STYLE="white-space: nowrap">->&lt;<-</td>
139     <td CLASS="font10">holds the tag prefix</td>
140     </tr>
141    
142     </table>
143     <BR>
144     </TD>
145     </TR>
146    
147     <!-- =========== Summary =========== -->
148     <TR BGCOLOR='white'>
149     <TD>
150     <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>
151     <table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
152     <tr CLASS="tableheadingcolor">
153     <th>Variable</th>
154     <th>Default Value</th>
155     <th>Description</th>
156     </tr>
157    
158     <tr>
159     <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#$indent_flag'>$indent_flag</A></td>
160     <td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td>
161     <td CLASS="font10">Flag for pretty (indented) output</td>
162     </tr>
163    
164     <tr>
165     <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#$_newline_after_content_flag'>$_newline_after_content_flag</A></td>
166     <td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td>
167     <td CLASS="font10">Do we render a newline after the
168     contents has been rendered?</td>
169     </tr>
170    
171     </table>
172     <BR>
173     </TD>
174     </TR>
175    
176     </TABLE>
177    
178     <hr>
179     <!-- =========== INHERITED METHOD SUMMARY =========== -->
180     <A NAME='functions_inherited'><!-- --></A>
181     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
182     <TR CLASS='TableHeadingColor'>
183     <TD>
184     <span CLASS="font12bold">Inherited Method Summary</span>
185     <A HREF="#top" CLASS="links">^TOP</A>
186     </TD>
187     </TR>
188    
189    
190     <!-- =========== Summary =========== -->
191     <TR BGCOLOR='white' CLASS='TableRowColor'>
192     <TD>
193     <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/WMLTagClass.html">WMLTagClass</a></span>
194     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
195     <tr CLASS="tableheadingcolor">
196     <th>Function</th>
197     <th>Description</th>
198     </tr>
199    
200     <tr>
201     <td CLASS="font10bold"><A HREF='../phpHtmlLib/WMLTagClass.html#constructor WMLTagClass'>constructor WMLTagClass ( [$attributes = array()] )</A></td>
202     <td CLASS="font10"></td>
203    
204     <tr>
205     <td CLASS="font10bold"><A HREF='../phpHtmlLib/WMLTagClass.html#set_class'>set_class ( $value )</A></td>
206     <td CLASS="font10">This function is a shorthand helper
207     to setting the class attribute on a
208     tag.</td>
209    
210     <tr>
211     <td CLASS="font10bold"><A HREF='../phpHtmlLib/WMLTagClass.html#set_id'>set_id ( $value )</A></td>
212     <td CLASS="font10">This function is a shorthand helper
213     to setting the id attribute on a
214     tag.</td>
215    
216     </table>
217     <br>
218     </TD>
219     </TR>
220    
221     <!-- =========== Summary =========== -->
222     <TR BGCOLOR='white' CLASS='TableRowColor'>
223     <TD>
224     <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span>
225     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
226     <tr CLASS="tableheadingcolor">
227     <th>Function</th>
228     <th>Description</th>
229     </tr>
230    
231     <tr>
232     <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#constructor XMLTagClass'>constructor XMLTagClass ( [$name = ], [$attributes = array()] )</A></td>
233     <td CLASS="font10">The constructor</td>
234    
235     <tr>
236     <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#get_tag'>get_tag ( )</A></td>
237     <td CLASS="font10">This returns the tag declared for this class.</td>
238    
239     <tr>
240     <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#get_tag_name'>get_tag_name ( )</A></td>
241     <td CLASS="font10">This method gets the name of the tag</td>
242    
243     <tr>
244     <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#render'>render ( [$indent_level = 0] )</A></td>
245     <td CLASS="font10">This function is responsible</td>
246    
247     <tr>
248     <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#reset_attributes'>reset_attributes ( [$attributes = array()] )</A></td>
249     <td CLASS="font10">clear all attributes and start with new attributes</td>
250    
251     <tr>
252     <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_collapse'>set_collapse ( [$collapse = TRUE], [$indent = TRUE] )</A></td>
253     <td CLASS="font10">This function turns on the collapse flag</td>
254    
255     <tr>
256     <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_newline_after_closetag'>set_newline_after_closetag ( $flag )</A></td>
257     <td CLASS="font10">set the newline_after_content flag</td>
258    
259     <tr>
260     <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_newline_after_opentag'>set_newline_after_opentag ( $flag )</A></td>
261     <td CLASS="font10">set the newline_after_opentag flag</td>
262    
263     <tr>
264     <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_tag_attribute'>set_tag_attribute ( $name, [$value = NULL] )</A></td>
265     <td CLASS="font10">add a single attribute (name=&quot;value&quot;)</td>
266    
267     <tr>
268     <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_tag_attributes'>set_tag_attributes ( [$attributes = array()] )</A></td>
269     <td CLASS="font10">add multiple attributes (name=&quot;value&quot;)</td>
270    
271     <tr>
272     <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_tag_name'>set_tag_name ( $name )</A></td>
273     <td CLASS="font10">This method sets the name of the tag</td>
274    
275     <tr>
276     <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_build_attribute_string'>_build_attribute_string ( $name, $value )</A></td>
277     <td CLASS="font10">this builds an attribute for an XML tag.</td>
278    
279     <tr>
280     <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_get_element'>_get_element ( $cell )</A></td>
281     <td CLASS="font10">get the nth element from content array</td>
282    
283     <tr>
284     <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_prepare_flags'>_prepare_flags ( )</A></td>
285     <td CLASS="font10">This function checks to see if</td>
286    
287     <tr>
288     <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_render_close_tag'>_render_close_tag ( $indent_level )</A></td>
289     <td CLASS="font10">this function is reposnsible for
290     rendering the closing tag (if any)</td>
291    
292     <tr>
293     <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_render_content'>_render_content ( $indent_level, [$output_debug = 0] )</A></td>
294     <td CLASS="font10">this function is reponsible for</td>
295    
296     <tr>
297     <td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_render_open_tag'>_render_open_tag ( $indent_level, [$finish_slash = TRUE] )</A></td>
298     <td CLASS="font10">this function is responsible for
299     rendering the open tag.</td>
300    
301     </table>
302     <br>
303     </TD>
304     </TR>
305    
306     <!-- =========== Summary =========== -->
307     <TR BGCOLOR='white' CLASS='TableRowColor'>
308     <TD>
309     <span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span>
310     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center">
311     <tr CLASS="tableheadingcolor">
312     <th>Function</th>
313     <th>Description</th>
314     </tr>
315    
316     <tr>
317     <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#constructor Container'>constructor Container ( )</A></td>
318     <td CLASS="font10">The constructor.</td>
319    
320     <tr>
321     <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#add'>add ( )</A></td>
322     <td CLASS="font10">add content onto content stack</td>
323    
324     <tr>
325     <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#add_reference'>add_reference ( &$content )</A></td>
326     <td CLASS="font10">Add content onto content stack
327     so you can change the item later.</td>
328    
329     <tr>
330     <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#count_content'>count_content ( )</A></td>
331     <td CLASS="font10">counts the number of content objects</td>
332    
333     <tr>
334     <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#get_indent_flag'>get_indent_flag ( )</A></td>
335     <td CLASS="font10">This flag gets the current value
336     of the indent flag</td>
337    
338     <tr>
339     <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#push'>push ( )</A></td>
340     <td CLASS="font10">Same as add().</td>
341    
342     <tr>
343     <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#push_reference'>push_reference ( &$content )</A></td>
344     <td CLASS="font10">Same as add_reference
345     NOTE : only exists for compatibility with 1.1.x</td>
346    
347     <tr>
348     <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#render'>render ( [$indent_level = 1], [$output_debug = 0] )</A></td>
349     <td CLASS="font10">This function is compatible with the
350     rest of the phpHtmllib API spec.</td>
351    
352     <tr>
353     <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#reset_content'>reset_content ( )</A></td>
354     <td CLASS="font10">destroy existing content and start with new content.</td>
355    
356     <tr>
357     <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#set_collapse'>set_collapse ( [$collapse = TRUE], [$indent = TRUE] )</A></td>
358     <td CLASS="font10">This function turns on the collapse flag</td>
359    
360     <tr>
361     <td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#set_indent_flag'>set_indent_flag ( $flag )</A></td>
362     <td CLASS="font10">function to set the indent flag</td>
363    
364     </table>
365     <br>
366     </TD>
367     </TR>
368    
369     </TABLE>
370    
371     <hr>
372     <!-- should have constructor at some point -->
373     <!-- =========== Method SUMMARY =========== -->
374     <A NAME='Method_summary'><!-- --></A>
375     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border">
376     <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
377     <TD>
378     <span class="font12bold">Method Summary</span>
379     <A HREF="#top" CLASS="links">^TOP</A>
380     </TD>
381     </TR>
382    
383    
384     <!-- =========== Summary =========== -->
385     <TR BGCOLOR='white' CLASS='TableRowColor'>
386     <TD>
387     <CODE><B><A HREF='GOtag.html#_prepare_flags'>void _prepare_flags ( )</A></B></CODE>
388     <BR>
389     <blockquote> we override this method
390     to automatically check to
391     see if the tag has content. </blockquote>
392     </TD>
393     </TR>
394    
395     </TABLE>
396    
397     <hr>
398     <!-- ============ VARIABLE DETAIL =========== -->
399    
400     <A NAME='variable_detail'></A>
401     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
402     <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
403     <TD>
404     <span CLASS="font12bold">Variable Detail</span>
405     <A HREF="#top" CLASS="links">^TOP</A>
406     </TD>
407     </TR>
408     </TABLE>
409    
410    
411     <A NAME='$_tag'><!-- --></A><H3>$_tag</H3>
412     <b>Data type:</b> mixed<br>
413     <!-- ========== Info from phpDoc block ========= -->
414    
415     <BR>
416    
417    
418     <UL>
419    
420     </UL>
421    
422     <HR>
423    
424    
425     <hr>
426     <!-- ============ FUNCTION DETAIL =========== -->
427    
428     <A NAME='function_detail'></A>
429     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
430     <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
431     <TD>
432     <span class="font12bold">Method Detail</span>
433     <A HREF="#top" CLASS="links">^TOP</A>
434     </TD>
435     </TR>
436     </TABLE>
437     <BR>
438    
439     <DIV CLASS="function">
440     <A NAME='_prepare_flags'><!-- --></A>
441     <SPAN CLASS="font12bold">_prepare_flags</SPAN>
442     <BR>
443     <SPAN CLASS="font10bold">Useage : </SPAN>
444     <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
445     <span class="font10bold" style="color: #0000FF">_prepare_flags ( )</SPAN>
446     <BR>
447    
448     <BR>
449     <SPAN CLASS="font10bold">Description : </SPAN>
450     <!-- ========== Info from phpDoc block ========= -->
451     we override this method
452     to automatically check to
453     see if the tag has content.
454     <BR>
455     if it doesn't then we
456     don't need to render the
457     close tag.
458     <DL>
459     <DT class="font10bold">Function Parameters:</DT>
460    
461    
462     <DT class="font10bold">Function Info:</DT>
463    
464     </DL>
465    
466     </DIV>
467     <BR>
468    
469    
470     <hr>
471     </HTML>

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