1 |
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Frameset//EN''http://www.w3.org/TR/REC-html40/frameset.dtd'> |
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN' 'http://www.w3.org/TR/REC-html40/loose.dtd'> |
2 |
<!--NewPage--> |
<!--NewPage--> |
3 |
<HTML> |
<HTML> |
4 |
<HEAD> |
<HEAD> |
5 |
<!-- Generated by PhpDoc date: 'Mon, 25 Nov 2002 09:21:28 -0800' --> |
<!-- Generated by PhpDoc date: 'Thu, 20 Feb 2003 16:22:29 -0800' --> |
6 |
<TITLE>Docs For Class TRtag</TITLE> |
<TITLE>Docs For Class TRtag</TITLE> |
7 |
<LINK REL ='stylesheet' TYPE='text/css' HREF='stylesheet.css' TITLE='Style'> |
<LINK REL ='stylesheet' TYPE='text/css' HREF='../media/stylesheet.css' TITLE='Style'> |
8 |
</HEAD> |
</HEAD> |
9 |
<BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;"> |
<BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;"> |
|
|
|
|
|
|
10 |
<!-- Links --> |
<!-- Links --> |
11 |
<a NAME="top"></A> |
<a NAME="top"></A> |
12 |
<table WIDTH="100%" class="links"> |
<table WIDTH="100%" class="links"> |
16 |
<A HREF="#children_summary" class="links" title="Classes extended from TRtag">Child Classes</A> |
<A HREF="#children_summary" class="links" title="Classes extended from TRtag">Child Classes</A> |
17 |
<A HREF="#var_summary" class="links" title="Class Variable Summary">Variables</A> |
<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> |
<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">Inerited Methods</A> |
<A HREF="#functions_inherited" class="links" title="Inherited Method Summary">Inherited Methods</A> |
20 |
<A HREF="#functions_summary" class="links" title="Method Summary">Methods</A> |
<A HREF="#method_summary" class="links" title="Method Summary">Methods</A> |
21 |
<A HREF="#variable_detail" class="links" title="Variable Detail">Variable Detail</A> |
<A HREF="#variable_detail" class="links" title="Variable Detail">Variable Detail</A> |
22 |
<A HREF="#function_detail" class="links" title="Method Detail">Method Detail</A> |
<A HREF="#method_detail" class="links" title="Method Detail">Method Detail</A> |
23 |
</TD> |
</TD> |
24 |
</TR> |
</TR> |
25 |
</TABLE> |
</TABLE> |
26 |
<BR> |
<BR> |
|
|
|
27 |
<!-- Start of Class Data --> |
<!-- Start of Class Data --> |
28 |
<H2> |
<H2> |
29 |
Class TRtag |
Class TRtag |
30 |
</H2> |
</H2> (line <span class="linenumber">1496</span>) |
|
|
|
31 |
<pre> |
<pre> |
32 |
<pre><a href="../phpHtmlLib/Container.html">Container</a> |
<a href="../phpHtmlLib/Container.html">Container</a> |
33 |
| |
| |
34 |
--<a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a> |
--<a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a> |
35 |
| |
| |
36 |
--<a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a> |
--<a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a> |
37 |
| |
| |
38 |
--TRtag</pre> |
--TRtag</pre> |
|
</pre> |
|
|
|
|
|
<A NAME="children_summary"</A> |
|
|
<H3> |
|
|
Classes extended from TRtag: <A HREF="#top" CLASS="links">^TOP</A> |
|
|
</H3> |
|
|
|
|
39 |
<p> |
<p> |
40 |
<b><i>Located in File: Program_Root/tag_classes/ALLTAGS.inc</i></b><br> |
<b><i>Located in File: Program_Root/tag_classes/ALLTAGS.inc</i></b><br> |
41 |
</p> |
</p> |
42 |
<hr> |
<hr> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
43 |
Table Row <TR> class. |
Table Row <TR> class. |
44 |
<BR> |
<br /> |
|
|
|
45 |
|
|
46 |
<UL> |
<UL> |
47 |
|
<LI><b>author</b> - <CODE>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>></CODE></LI> |
48 |
<LI><b>Package</b> - <CODE>phpHtmlLib</CODE></LI> |
</UL> |
|
|
|
|
</UL> |
|
|
|
|
49 |
<hr> |
<hr> |
50 |
<!-- =========== VAR SUMMARY =========== --> |
<!-- =========== VAR SUMMARY =========== --> |
51 |
<A NAME='var_summary'><!-- --></A> |
<A NAME='var_summary'><!-- --></A> |
57 |
</TD> |
</TD> |
58 |
</TR> |
</TR> |
59 |
|
|
60 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
61 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
62 |
<TD> |
<TD> |
63 |
<CODE><B><A HREF='TRtag.html#$_default_td_attributes'>$_default_td_attributes</A></B></CODE> |
<CODE><B><A HREF="../phpHtmlLib/TRtag.html#var$_default_td_attributes">$_default_td_attributes</A></B></CODE> |
64 |
<BR> |
<BR> |
65 |
<blockquote> Holds the default attributes for all <td>'s </blockquote> |
<blockquote> Holds the default attributes for all <td>'s </blockquote> |
66 |
<blockquote> Default Value: <CODE>->array()<-</CODE> </blockquote> |
<blockquote> Default Value: <CODE>->array()<-</CODE> </blockquote> |
67 |
</TD> |
</TD> |
68 |
</TR> |
</TR> |
69 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
70 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
71 |
<TD> |
<TD> |
72 |
<CODE><B><A HREF='TRtag.html#$_tag'>$_tag</A></B></CODE> |
<CODE><B><A HREF="../phpHtmlLib/TRtag.html#var$_tag">$_tag</A></B></CODE> |
73 |
<BR> |
<BR> |
74 |
<blockquote> </blockquote> |
<blockquote> </blockquote> |
75 |
<blockquote> Default Value: <CODE>->tr<-</CODE> </blockquote> |
<blockquote> Default Value: <CODE>-> "tr"<-</CODE> </blockquote> |
76 |
</TD> |
</TD> |
77 |
</TR> |
</TR> |
78 |
|
</TABLE> |
|
</TABLE> |
|
|
|
|
79 |
<hr> |
<hr> |
80 |
<!-- =========== VAR INHERITED SUMMARY =========== --> |
<!-- =========== VAR INHERITED SUMMARY =========== --> |
81 |
<A NAME='var_inherited_summary'><!-- --></A> |
<A NAME='var_inherited_summary'><!-- --></A> |
82 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
83 |
<TR CLASS='TableHeadingColor'> |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
84 |
<TD> |
<TD> |
85 |
<span CLASS="font12bold">Inherited Class Variable Summary</span> |
<span CLASS="font12bold">Inherited Class Variable Summary</span> |
86 |
<A HREF="#top" CLASS="links">^TOP</A> |
<A HREF="#top" CLASS="links">^TOP</A> |
87 |
</TD> |
</TD> |
88 |
</TR> |
</TR> |
89 |
|
|
90 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
91 |
<TR BGCOLOR='white'> |
<TR BGCOLOR='white'> |
92 |
<TD> |
<TD> |
93 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a></span> |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span> |
94 |
<table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
<table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
95 |
<tr CLASS="tableheadingcolor"> |
<tr CLASS="tableheadingcolor"> |
96 |
<th>Variable</th> |
<th>Variable</th> |
97 |
<th>Default Value</th> |
<th>Default Value</th> |
98 |
<th>Description</th> |
<th>Description</th> |
99 |
</tr> |
</tr> |
100 |
|
<tr> |
101 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#var$_flags">Container::$_flags</a></td> |
102 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#$_depricated'>$_depricated</A></td> |
<td CLASS="font10" STYLE="white-space: nowrap">-> _NEWLINEAFTERCONTENT<-</td> |
103 |
<td CLASS="font10" STYLE="white-space: nowrap">->FALSE<-</td> |
<td CLASS="font10">The flags that tell us</td> |
|
<td CLASS="font10">Flag to denote that this tag is |
|
|
depricated by the HTML standard.</td> |
|
|
</tr> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#$_no_finish_slash_xhtml'>$_no_finish_slash_xhtml</A></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">->FALSE<-</td> |
|
|
<td CLASS="font10">Flag to tell the renderer not to |
|
|
place the /> if we are in xhtml |
|
|
compliant mode.</td> |
|
|
</tr> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#$_xhtml_strict_attributes'>$_xhtml_strict_attributes</A></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">->array()<-</td> |
|
|
<td CLASS="font10">The list of attributes not to render |
|
|
if HTML_RENDER_TYPE is "XHTML STRICT"</td> |
|
104 |
</tr> |
</tr> |
105 |
|
</table> |
|
</table> |
|
106 |
<BR> |
<BR> |
107 |
</TD> |
</TD> |
108 |
</TR> |
</TR> |
109 |
|
</TABLE> |
110 |
<!-- =========== Summary =========== --> |
|
111 |
<TR BGCOLOR='white'> |
<hr> |
112 |
|
<!-- =========== METHOD SUMMARY =========== --> |
113 |
|
<A NAME='method_summary'><!-- --></A> |
114 |
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border"> |
115 |
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
116 |
<TD> |
<TD> |
117 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span> |
<span class="font12bold">Method Summary</span> |
118 |
<table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
<A HREF="#top" CLASS="links">^TOP</A> |
119 |
<tr CLASS="tableheadingcolor"> |
</TD> |
|
<th>Variable</th> |
|
|
<th>Default Value</th> |
|
|
<th>Description</th> |
|
|
</tr> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$newline_after_closetag'>$newline_after_closetag</A></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td> |
|
|
<td CLASS="font10">Flag to place a newline after close tag.</td> |
|
|
</tr> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$newline_after_opentag'>$newline_after_opentag</A></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td> |
|
|
<td CLASS="font10">Flag to place a newline after open tag.</td> |
|
|
</tr> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$_cdata_content_wrap'>$_cdata_content_wrap</A></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">->FALSE<-</td> |
|
|
<td CLASS="font10">Automatically wrap ALL content</td> |
|
|
</tr> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$_tag_postfix'>$_tag_postfix</A></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">->><-</td> |
|
|
<td CLASS="font10">holds the tag postfix</td> |
|
|
</tr> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#$_tag_prefix'>$_tag_prefix</A></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">-><<-</td> |
|
|
<td CLASS="font10">holds the tag prefix</td> |
|
|
</tr> |
|
|
|
|
|
</table> |
|
|
<BR> |
|
|
</TD> |
|
120 |
</TR> |
</TR> |
121 |
|
|
122 |
<!-- =========== Summary =========== --> |
<!-- =========== Summary =========== --> |
123 |
<TR BGCOLOR='white'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
124 |
<TD> |
<TD> |
125 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span> |
<CODE><B><A HREF='../phpHtmlLib/TRtag.html#methodadd'>void add ( )</A></B></CODE> |
126 |
<table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
<BR> |
127 |
<tr CLASS="tableheadingcolor"> |
<blockquote> add content onto content stack adds content to tag as a FIFO. </blockquote> |
128 |
<th>Variable</th> |
</TD> |
|
<th>Default Value</th> |
|
|
<th>Description</th> |
|
|
</tr> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#$indent_flag'>$indent_flag</A></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td> |
|
|
<td CLASS="font10">Flag for pretty (indented) output</td> |
|
|
</tr> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#$_newline_after_content_flag'>$_newline_after_content_flag</A></td> |
|
|
<td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td> |
|
|
<td CLASS="font10">Do we render a newline after the |
|
|
contents has been rendered?</td> |
|
|
</tr> |
|
|
|
|
|
</table> |
|
|
<BR> |
|
|
</TD> |
|
129 |
</TR> |
</TR> |
130 |
|
<!-- =========== Summary =========== --> |
131 |
</TABLE> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
132 |
|
<TD> |
133 |
<hr> |
<CODE><B><A HREF='../phpHtmlLib/TRtag.html#methodadd_reference'>void add_reference ( &$content )</A></B></CODE> |
134 |
|
<BR> |
135 |
|
<blockquote> add content onto content stack </blockquote> |
136 |
|
</TD> |
137 |
|
</TR> |
138 |
|
<!-- =========== Summary =========== --> |
139 |
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
140 |
|
<TD> |
141 |
|
<CODE><B><A HREF='../phpHtmlLib/TRtag.html#methodpush'>void push ( )</A></B></CODE> |
142 |
|
<BR> |
143 |
|
<blockquote> Same ass add() </blockquote> |
144 |
|
</TD> |
145 |
|
</TR> |
146 |
|
<!-- =========== Summary =========== --> |
147 |
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
148 |
|
<TD> |
149 |
|
<CODE><B><A HREF='../phpHtmlLib/TRtag.html#methodpush_reference'>void push_reference ( &$content )</A></B></CODE> |
150 |
|
<BR> |
151 |
|
<blockquote> Same ass add_reference() </blockquote> |
152 |
|
</TD> |
153 |
|
</TR> |
154 |
|
<!-- =========== Summary =========== --> |
155 |
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
156 |
|
<TD> |
157 |
|
<CODE><B><A HREF='../phpHtmlLib/TRtag.html#methodset_default_td_attributes'>void set_default_td_attributes ( $attributes )</A></B></CODE> |
158 |
|
<BR> |
159 |
|
<blockquote> Sets the default attributes for <td>'s that are added to the table. If there are any attributes set for the <td> it won't use the defaults. </blockquote> |
160 |
|
</TD> |
161 |
|
</TR> |
162 |
|
</TABLE> |
163 |
<!-- =========== INHERITED METHOD SUMMARY =========== --> |
<!-- =========== INHERITED METHOD SUMMARY =========== --> |
164 |
<A NAME='functions_inherited'><!-- --></A> |
<A NAME='functions_inherited'><!-- --></A> |
165 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
166 |
<TR CLASS='TableHeadingColor'> |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
167 |
<TD> |
<TD> |
168 |
<span CLASS="font12bold">Inherited Method Summary</span> |
<span CLASS="font12bold">Inherited Method Summary</span> |
169 |
<A HREF="#top" CLASS="links">^TOP</A> |
<A HREF="#top" CLASS="links">^TOP</A> |
170 |
</TD> |
</TD> |
171 |
</TR> |
</TR> |
172 |
|
|
173 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
174 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
175 |
<TD> |
<TD> |
176 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a></span> |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a></span> |
179 |
<th>Function</th> |
<th>Function</th> |
180 |
<th>Description</th> |
<th>Description</th> |
181 |
</tr> |
</tr> |
182 |
|
<tr> |
183 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodHTMLTagClass">HTMLTagClass::HTMLTagClass()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#constructor HTMLTagClass'>constructor HTMLTagClass ( [$attributes = NULL] )</A></td> |
|
184 |
<td CLASS="font10">Class Constructor</td> |
<td CLASS="font10">Class Constructor</td> |
185 |
|
<tr> |
186 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodrender">HTMLTagClass::render()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#render'>render ( [$indent_level = NULL], [$output_debug = 0] )</A></td> |
|
187 |
<td CLASS="font10">Renders the tag, attributes, content and close tag.</td> |
<td CLASS="font10">Renders the tag, attributes, content and close tag.</td> |
188 |
|
<tr> |
189 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodset_class">HTMLTagClass::set_class()</a></td> |
190 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#set_class'>set_class ( $value )</A></td> |
<td CLASS="font10">This function is a shorthand helper to setting the class attribute on a tag.</td> |
191 |
<td CLASS="font10">This function is a shorthand helper |
<tr> |
192 |
to setting the class attribute on a |
<td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodset_id">HTMLTagClass::set_id()</a></td> |
193 |
tag.</td> |
<td CLASS="font10">This function is a shorthand helper to setting the id attribute on a tag.</td> |
194 |
|
<tr> |
195 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#methodset_style">HTMLTagClass::set_style()</a></td> |
196 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#set_id'>set_id ( $value )</A></td> |
<td CLASS="font10">This function is a shorthand helper to setting the style attribute on a tag.</td> |
197 |
<td CLASS="font10">This function is a shorthand helper |
<tr> |
198 |
to setting the id attribute on a |
<td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#method_build_attribute_string">HTMLTagClass::_build_attribute_string()</a></td> |
|
tag.</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#set_style'>set_style ( $value )</A></td> |
|
|
<td CLASS="font10">This function is a shorthand helper |
|
|
to setting the style attribute on a |
|
|
tag.</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#_build_attribute_string'>_build_attribute_string ( $name, $value, [$debug = 0] )</A></td> |
|
199 |
<td CLASS="font10">this builds an attribute for a tag.</td> |
<td CLASS="font10">this builds an attribute for a tag.</td> |
200 |
|
<tr> |
201 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/HTMLTagClass.html#method_render_tag_debug">HTMLTagClass::_render_tag_debug()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/HTMLTagClass.html#_render_tag_debug'>_render_tag_debug ( $indent_level )</A></td> |
|
202 |
<td CLASS="font10">This renders that open tag in debug mode.</td> |
<td CLASS="font10">This renders that open tag in debug mode.</td> |
203 |
|
</table> |
|
</table> |
|
204 |
<br> |
<br> |
205 |
</TD> |
</TD> |
206 |
</TR> |
</TR> |
207 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
208 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
209 |
<TD> |
<TD> |
210 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span> |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></span> |
213 |
<th>Function</th> |
<th>Function</th> |
214 |
<th>Description</th> |
<th>Description</th> |
215 |
</tr> |
</tr> |
216 |
|
<tr> |
217 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodXMLTagClass">XMLTagClass::XMLTagClass()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#constructor XMLTagClass'>constructor XMLTagClass ( [$name = ], [$attributes = array()] )</A></td> |
|
218 |
<td CLASS="font10">The constructor</td> |
<td CLASS="font10">The constructor</td> |
219 |
|
<tr> |
220 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodget_tag">XMLTagClass::get_tag()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#get_tag'>get_tag ( )</A></td> |
|
221 |
<td CLASS="font10">This returns the tag declared for this class.</td> |
<td CLASS="font10">This returns the tag declared for this class.</td> |
222 |
|
<tr> |
223 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodget_tag_name">XMLTagClass::get_tag_name()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#get_tag_name'>get_tag_name ( )</A></td> |
|
224 |
<td CLASS="font10">This method gets the name of the tag</td> |
<td CLASS="font10">This method gets the name of the tag</td> |
225 |
|
<tr> |
226 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodrender">XMLTagClass::render()</a></td> |
227 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#render'>render ( [$indent_level = 0] )</A></td> |
<td CLASS="font10">This function is responsible for rendering the tag and its contents</td> |
228 |
<td CLASS="font10">This function is responsible</td> |
<tr> |
229 |
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodreset_attributes">XMLTagClass::reset_attributes()</a></td> |
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#reset_attributes'>reset_attributes ( [$attributes = array()] )</A></td> |
|
230 |
<td CLASS="font10">clear all attributes and start with new attributes</td> |
<td CLASS="font10">clear all attributes and start with new attributes</td> |
231 |
|
<tr> |
232 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_collapse">XMLTagClass::set_collapse()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_collapse'>set_collapse ( [$collapse = TRUE], [$indent = TRUE] )</A></td> |
|
233 |
<td CLASS="font10">This function turns on the collapse flag</td> |
<td CLASS="font10">This function turns on the collapse flag</td> |
234 |
|
<tr> |
235 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_newline_after_closetag">XMLTagClass::set_newline_after_closetag()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_newline_after_closetag'>set_newline_after_closetag ( $flag )</A></td> |
|
236 |
<td CLASS="font10">set the newline_after_content flag</td> |
<td CLASS="font10">set the newline_after_content flag</td> |
237 |
|
<tr> |
238 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_newline_after_opentag">XMLTagClass::set_newline_after_opentag()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_newline_after_opentag'>set_newline_after_opentag ( $flag )</A></td> |
|
239 |
<td CLASS="font10">set the newline_after_opentag flag</td> |
<td CLASS="font10">set the newline_after_opentag flag</td> |
240 |
|
<tr> |
241 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_attribute">XMLTagClass::set_tag_attribute()</a></td> |
242 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_tag_attribute'>set_tag_attribute ( $name, [$value = NULL] )</A></td> |
<td CLASS="font10">add a single attribute (name="value")</td> |
243 |
<td CLASS="font10">add a single attribute (name="value")</td> |
<tr> |
244 |
|
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_attributes">XMLTagClass::set_tag_attributes()</a></td> |
245 |
<tr> |
<td CLASS="font10">add multiple attributes (name="value")</td> |
246 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_tag_attributes'>set_tag_attributes ( [$attributes = array()] )</A></td> |
<tr> |
247 |
<td CLASS="font10">add multiple attributes (name="value")</td> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#methodset_tag_name">XMLTagClass::set_tag_name()</a></td> |
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#set_tag_name'>set_tag_name ( $name )</A></td> |
|
248 |
<td CLASS="font10">This method sets the name of the tag</td> |
<td CLASS="font10">This method sets the name of the tag</td> |
249 |
|
<tr> |
250 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_build_attribute_string">XMLTagClass::_build_attribute_string()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_build_attribute_string'>_build_attribute_string ( $name, $value )</A></td> |
|
251 |
<td CLASS="font10">this builds an attribute for an XML tag.</td> |
<td CLASS="font10">this builds an attribute for an XML tag.</td> |
252 |
|
<tr> |
253 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_get_element">XMLTagClass::_get_element()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_get_element'>_get_element ( $cell )</A></td> |
|
254 |
<td CLASS="font10">get the nth element from content array</td> |
<td CLASS="font10">get the nth element from content array</td> |
255 |
|
<tr> |
256 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_prepare_flags">XMLTagClass::_prepare_flags()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_prepare_flags'>_prepare_flags ( )</A></td> |
|
257 |
<td CLASS="font10">This function checks to see if</td> |
<td CLASS="font10">This function checks to see if</td> |
258 |
|
<tr> |
259 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_close_tag">XMLTagClass::_render_close_tag()</a></td> |
260 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_render_close_tag'>_render_close_tag ( $indent_level )</A></td> |
<td CLASS="font10">this function is reposnsible for rendering the closing tag (if any)</td> |
261 |
<td CLASS="font10">this function is reposnsible for |
<tr> |
262 |
rendering the closing tag (if any)</td> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_content">XMLTagClass::_render_content()</a></td> |
263 |
|
<td CLASS="font10">this function is reponsible for rendering the pcdata, or content of the tag (if any)</td> |
264 |
<tr> |
<tr> |
265 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_render_content'>_render_content ( $indent_level, [$output_debug = 0] )</A></td> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_render_open_tag">XMLTagClass::_render_open_tag()</a></td> |
266 |
<td CLASS="font10">this function is reponsible for</td> |
<td CLASS="font10">this function is responsible for rendering the open tag.</td> |
267 |
|
<tr> |
268 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/XMLTagClass.html#method_set_flags">XMLTagClass::_set_flags()</a></td> |
269 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/XMLTagClass.html#_render_open_tag'>_render_open_tag ( $indent_level, [$finish_slash = TRUE] )</A></td> |
<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 |
<td CLASS="font10">this function is responsible for |
</table> |
|
rendering the open tag.</td> |
|
|
|
|
|
</table> |
|
271 |
<br> |
<br> |
272 |
</TD> |
</TD> |
273 |
</TR> |
</TR> |
274 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
275 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
276 |
<TD> |
<TD> |
277 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span> |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span> |
280 |
<th>Function</th> |
<th>Function</th> |
281 |
<th>Description</th> |
<th>Description</th> |
282 |
</tr> |
</tr> |
283 |
|
<tr> |
284 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#constructor Container'>constructor Container ( )</A></td> |
|
285 |
<td CLASS="font10">The constructor.</td> |
<td CLASS="font10">The constructor.</td> |
286 |
|
<tr> |
287 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#add'>add ( )</A></td> |
|
288 |
<td CLASS="font10">add content onto content stack</td> |
<td CLASS="font10">add content onto content stack</td> |
289 |
|
<tr> |
290 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></td> |
291 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#add_reference'>add_reference ( &$content )</A></td> |
<td CLASS="font10">Add content onto content stack so you can change the item later.</td> |
292 |
<td CLASS="font10">Add content onto content stack |
<tr> |
293 |
so you can change the item later.</td> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></td> |
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#count_content'>count_content ( )</A></td> |
|
294 |
<td CLASS="font10">counts the number of content objects</td> |
<td CLASS="font10">counts the number of content objects</td> |
295 |
|
<tr> |
296 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></td> |
297 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#get_indent_flag'>get_indent_flag ( )</A></td> |
<td CLASS="font10">This flag gets the current value of the indent flag</td> |
298 |
<td CLASS="font10">This flag gets the current value |
<tr> |
299 |
of the indent flag</td> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></td> |
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#push'>push ( )</A></td> |
|
300 |
<td CLASS="font10">Same as add().</td> |
<td CLASS="font10">Same as add().</td> |
301 |
|
<tr> |
302 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></td> |
303 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#push_reference'>push_reference ( &$content )</A></td> |
<td CLASS="font10">Same as add_reference NOTE : only exists for compatibility with 1.1.x</td> |
304 |
<td CLASS="font10">Same as add_reference |
<tr> |
305 |
NOTE : only exists for compatibility with 1.1.x</td> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></td> |
306 |
|
<td CLASS="font10">This function is compatible with the rest of the phpHtmllib API spec.</td> |
307 |
<tr> |
<tr> |
308 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#render'>render ( [$indent_level = 1], [$output_debug = 0] )</A></td> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></td> |
|
<td CLASS="font10">This function is compatible with the |
|
|
rest of the phpHtmllib API spec.</td> |
|
|
|
|
|
<tr> |
|
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#reset_content'>reset_content ( )</A></td> |
|
309 |
<td CLASS="font10">destroy existing content and start with new content.</td> |
<td CLASS="font10">destroy existing content and start with new content.</td> |
310 |
|
<tr> |
311 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#set_collapse'>set_collapse ( [$collapse = TRUE], [$indent = TRUE] )</A></td> |
|
312 |
<td CLASS="font10">This function turns on the collapse flag</td> |
<td CLASS="font10">This function turns on the collapse flag</td> |
313 |
|
<tr> |
314 |
<tr> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></td> |
|
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#set_indent_flag'>set_indent_flag ( $flag )</A></td> |
|
315 |
<td CLASS="font10">function to set the indent flag</td> |
<td CLASS="font10">function to set the indent flag</td> |
316 |
|
<tr> |
317 |
</table> |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#method_set_flags">Container::_set_flags()</a></td> |
318 |
|
<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> |
319 |
|
</table> |
320 |
<br> |
<br> |
321 |
</TD> |
</TD> |
322 |
</TR> |
</TR> |
323 |
|
</TABLE> |
|
</TABLE> |
|
|
|
|
|
<hr> |
|
|
<!-- should have constructor at some point --> |
|
|
<!-- =========== Method SUMMARY =========== --> |
|
|
<A NAME='Method_summary'><!-- --></A> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border"> |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
|
|
<TD> |
|
|
<span class="font12bold">Method Summary</span> |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='TRtag.html#add'>void add ( )</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> add content onto content stack |
|
|
adds content to tag as a FIFO. </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='TRtag.html#add_reference'>void add_reference ( &$content )</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> add content onto content stack </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='TRtag.html#push'>void push ( )</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> Same ass add() </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='TRtag.html#push_reference'>void push_reference ( &$content )</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> Same ass add_reference() </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='TRtag.html#set_default_td_attributes'>void set_default_td_attributes ( $attributes )</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> Sets the default attributes for <td>'s |
|
|
that are added to the table. </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
</TABLE> |
|
|
|
|
324 |
<hr> |
<hr> |
325 |
<!-- ============ VARIABLE DETAIL =========== --> |
<!-- ============ VARIABLE DETAIL =========== --> |
326 |
|
|
334 |
</TR> |
</TR> |
335 |
</TABLE> |
</TABLE> |
336 |
|
|
337 |
|
<A NAME='var$_default_td_attributes'><!-- --></A><H3>$_default_td_attributes</H3> (line <span class="linenumber">1504</span>)<br /> |
338 |
<A NAME='$_default_td_attributes'><!-- --></A><H3>$_default_td_attributes</H3> |
<b>Data type:</b> array<br>Holds the default attributes for all <td>'s |
339 |
<b>Data type:</b> array<br> |
<br /> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
Holds the default attributes for all <td>'s |
|
|
<BR> |
|
|
|
|
340 |
|
|
341 |
<UL> |
<UL> |
342 |
|
<LI><b>private</b> - <CODE></CODE></LI> |
343 |
<LI><b>Private</b> - <CODE></CODE></LI> |
</UL> |
|
|
|
|
</UL> |
|
|
|
|
344 |
<HR> |
<HR> |
345 |
|
<A NAME='var$_tag'><!-- --></A><H3>$_tag</H3> (line <span class="linenumber">1497</span>)<br /> |
|
<A NAME='$_tag'><!-- --></A><H3>$_tag</H3> |
|
346 |
<b>Data type:</b> mixed<br> |
<b>Data type:</b> mixed<br> |
347 |
<!-- ========== Info from phpDoc block ========= --> |
<br /> |
|
|
|
|
<BR> |
|
|
|
|
348 |
|
|
349 |
<UL> |
<UL> |
350 |
|
</UL> |
|
</UL> |
|
|
|
|
351 |
<HR> |
<HR> |
|
|
|
|
|
|
352 |
<hr> |
<hr> |
353 |
<!-- ============ FUNCTION DETAIL =========== --> |
<!-- ============ METHOD DETAIL =========== --> |
354 |
|
|
355 |
<A NAME='function_detail'></A> |
<A NAME='method_detail'></A> |
356 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
357 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
358 |
<TD> |
<TD> |
362 |
</TR> |
</TR> |
363 |
</TABLE> |
</TABLE> |
364 |
<BR> |
<BR> |
|
|
|
365 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
366 |
<A NAME='add'><!-- --></A> |
<A NAME='methodadd'><!-- --></A> |
367 |
<SPAN CLASS="font12bold">add</SPAN> |
<SPAN CLASS="font12bold">add</SPAN> (line <span class="linenumber">1536</span>) |
368 |
<BR> |
<BR> |
369 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
370 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
371 |
<span class="font10bold" style="color: #0000FF">add ( )</SPAN> |
<span class="font10bold" style="color: #0000FF">add( |
372 |
|
mixed |
373 |
|
$content)</SPAN> |
374 |
<BR> |
<BR> |
375 |
|
|
376 |
<BR> |
<BR> |
377 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
378 |
<!-- ========== Info from phpDoc block ========= --> |
add content onto content stack adds content to tag as a FIFO. |
379 |
add content onto content stack |
<br /> |
380 |
adds content to tag as a FIFO. |
<p>You can have n number of parameters. each one will get added in succession to the content.</p><p>we override this from the parent so we can auto detect if the user is adding raw strings instead of objects. If they are trying to add raw strings, then we wrap that in a TDtag object, since you can't add anything other then a <TD> or <TH> to a <TR>.</p> |
|
<BR> |
|
|
You can have n number of parameters. |
|
|
each one will get added in succession to the content. |
|
|
|
|
|
we override this from the parent so we can auto detect if |
|
|
the user is adding raw strings instead of objects. |
|
|
If they are trying to add raw strings, then we wrap that in |
|
|
a TDtag object, since you can't add anything other then a <TD> or |
|
|
<TH> to a <TR>. |
|
381 |
<DL> |
<DL> |
382 |
<DT class="font10bold">Function Parameters:</DT> |
<DT class="font10bold">Function Parameters:</DT> |
383 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">mixed</SPAN> <span style="color: #0000FF;font-weight:bold">$content</SPAN></SPAN> - either string, or tag object.</DD> |
384 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">mixed</SPAN> <span style="color: #0000FF;font-weight:bold">$content</SPAN></SPAN> - either string, or tag object.</DD> |
|
385 |
|
<DT class="font10bold">Function Info:</DT> |
386 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>access</b> - public</DD> |
387 |
<DT class="font10bold">Function Info:</DT> |
</DL> |
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Access</b> - public</DD> |
|
|
|
|
|
</DL> |
|
|
|
|
388 |
</DIV> |
</DIV> |
389 |
<BR> |
<BR> |
|
|
|
390 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
391 |
<A NAME='add_reference'><!-- --></A> |
<A NAME='methodadd_reference'><!-- --></A> |
392 |
<SPAN CLASS="font12bold">add_reference</SPAN> |
<SPAN CLASS="font12bold">add_reference</SPAN> (line <span class="linenumber">1576</span>) |
393 |
<BR> |
<BR> |
394 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
395 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
396 |
<span class="font10bold" style="color: #0000FF">add_reference ( &$content )</SPAN> |
<span class="font10bold" style="color: #0000FF">add_reference( |
397 |
|
mixed |
398 |
|
&$content, mixed |
399 |
|
$content)</SPAN> |
400 |
<BR> |
<BR> |
401 |
|
|
402 |
<BR> |
<BR> |
403 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
404 |
add content onto content stack |
add content onto content stack |
405 |
<BR> |
<br /> |
406 |
adds content to tag as a FIFO |
<p>adds content to tag as a FIFO You can only add 1 element at a time, and it will be added as a reference. So you can't do add_reference("something");, since "something" is a static.</p><p>we override this from the parent so we can auto detect if the user is adding raw strings instead of objects. If they are trying to add raw strings, then we wrap that in a TDtag object, since you can't add anything other then a <TD> or <TH> to a <TR>.</p> |
|
You can only add 1 element at a time, and |
|
|
it will be added as a reference. So you can't do |
|
|
add_reference("something");, since "something" is a |
|
|
static. |
|
|
|
|
|
we override this from the parent so we can auto detect if |
|
|
the user is adding raw strings instead of objects. |
|
|
If they are trying to add raw strings, then we wrap that in |
|
|
a TDtag object, since you can't add anything other then a <TD> or |
|
|
<TH> to a <TR>. |
|
407 |
<DL> |
<DL> |
408 |
<DT class="font10bold">Function Parameters:</DT> |
<DT class="font10bold">Function Parameters:</DT> |
409 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">mixed</SPAN> <span style="color: #0000FF;font-weight:bold">$content</SPAN></SPAN> - either string, or tag object. the tag object gets stored as a reference to the original, so you can add it, then modify it later.</DD> |
410 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">mixed</SPAN> <span style="color: #0000FF;font-weight:bold">$content</SPAN></SPAN> - either string, or tag object. |
|
411 |
the tag object gets stored as a |
<DT class="font10bold">Function Info:</DT> |
412 |
reference to the original, so you |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>access</b> - public</DD> |
413 |
can add it, then modify it later.</DD> |
</DL> |
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Access</b> - public</DD> |
|
|
|
|
|
</DL> |
|
|
|
|
414 |
</DIV> |
</DIV> |
415 |
<BR> |
<BR> |
|
|
|
416 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
417 |
<A NAME='push'><!-- --></A> |
<A NAME='methodpush'><!-- --></A> |
418 |
<SPAN CLASS="font12bold">push</SPAN> |
<SPAN CLASS="font12bold">push</SPAN> (line <span class="linenumber">1600</span>) |
419 |
<BR> |
<BR> |
420 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
421 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
422 |
<span class="font10bold" style="color: #0000FF">push ( )</SPAN> |
<span class="font10bold" style="color: #0000FF">push( |
423 |
|
)</SPAN> |
424 |
<BR> |
<BR> |
425 |
|
|
426 |
<BR> |
<BR> |
427 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
428 |
Same ass add() |
Same ass add() |
429 |
<BR> |
<br /> |
430 |
NOTE: only exists for compatibility with 1.x |
<p>NOTE: only exists for compatibility with 1.x</p> |
431 |
<DL> |
<DL> |
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Deprecated</b> - - use add()</DD> |
|
|
|
|
|
</DL> |
|
432 |
|
|
433 |
|
<DT class="font10bold">Function Info:</DT> |
434 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>deprecated</b> - - use add()</DD> |
435 |
|
</DL> |
436 |
</DIV> |
</DIV> |
437 |
<BR> |
<BR> |
|
|
|
438 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
439 |
<A NAME='push_reference'><!-- --></A> |
<A NAME='methodpush_reference'><!-- --></A> |
440 |
<SPAN CLASS="font12bold">push_reference</SPAN> |
<SPAN CLASS="font12bold">push_reference</SPAN> (line <span class="linenumber">1612</span>) |
441 |
<BR> |
<BR> |
442 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
443 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
444 |
<span class="font10bold" style="color: #0000FF">push_reference ( &$content )</SPAN> |
<span class="font10bold" style="color: #0000FF">push_reference( |
445 |
|
mixed |
446 |
|
&$content)</SPAN> |
447 |
<BR> |
<BR> |
448 |
|
|
449 |
<BR> |
<BR> |
450 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
451 |
Same ass add_reference() |
Same ass add_reference() |
452 |
<BR> |
<br /> |
453 |
NOTE: only exists for compatibility with 1.x |
<p>NOTE: only exists for compatibility with 1.x</p> |
454 |
<DL> |
<DL> |
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Deprecated</b> - - use add()</DD> |
|
|
|
|
|
</DL> |
|
455 |
|
|
456 |
|
<DT class="font10bold">Function Info:</DT> |
457 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>deprecated</b> - - use add()</DD> |
458 |
|
</DL> |
459 |
</DIV> |
</DIV> |
460 |
<BR> |
<BR> |
|
|
|
461 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
462 |
<A NAME='set_default_td_attributes'><!-- --></A> |
<A NAME='methodset_default_td_attributes'><!-- --></A> |
463 |
<SPAN CLASS="font12bold">set_default_td_attributes</SPAN> |
<SPAN CLASS="font12bold">set_default_td_attributes</SPAN> (line <span class="linenumber">1518</span>) |
464 |
<BR> |
<BR> |
465 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
466 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
467 |
<span class="font10bold" style="color: #0000FF">set_default_td_attributes ( $attributes )</SPAN> |
<span class="font10bold" style="color: #0000FF">set_default_td_attributes( |
468 |
|
array |
469 |
|
$attributes)</SPAN> |
470 |
<BR> |
<BR> |
471 |
|
|
472 |
<BR> |
<BR> |
473 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
474 |
<!-- ========== Info from phpDoc block ========= --> |
Sets the default attributes for <td>'s that are added to the table. If there are any attributes set for the <td> it won't use the defaults. |
475 |
Sets the default attributes for <td>'s |
<br /> |
|
that are added to the table. |
|
|
<BR> |
|
|
If there are |
|
|
any attributes set for the <td> it won't use |
|
|
the defaults. |
|
|
<DL> |
|
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">array</SPAN> <span style="color: #0000FF;font-weight:bold">$attributes</SPAN></SPAN> - the default attributes</DD> |
|
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
</DL> |
|
476 |
|
|
477 |
|
<DL> |
478 |
|
<DT class="font10bold">Function Parameters:</DT> |
479 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">array</SPAN> <span style="color: #0000FF;font-weight:bold">$attributes</SPAN></SPAN> - the default attributes</DD> |
480 |
|
|
481 |
|
<DT class="font10bold">Function Info:</DT> |
482 |
|
</DL> |
483 |
</DIV> |
</DIV> |
484 |
<BR> |
<BR> |
485 |
|
<div id="credit"> |
486 |
|
<hr> |
487 |
<hr> |
Documention generated on Thu, 20 Feb 2003 16:22:29 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a> |
488 |
</HTML> |
</div> |
489 |
|
</body> |
490 |
|
</html> |