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:29 -0800' --> |
<!-- Generated by PhpDoc date: 'Thu, 20 Feb 2003 16:22:32 -0800' --> |
6 |
<TITLE>Docs For Class Container</TITLE> |
<TITLE>Docs For Class Container</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 Container">Child Classes</A> |
<A HREF="#children_summary" class="links" title="Classes extended from Container">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 Container |
Class Container |
30 |
</H2> |
</H2> (line <span class="linenumber">38</span>) |
|
|
|
31 |
<pre> |
<pre> |
|
Container |
|
32 |
</pre> |
</pre> |
33 |
|
<SPAN class="type">Classes extended from Container:</SPAN> |
34 |
<A NAME="children_summary"</A> |
<dl> |
35 |
<H3> |
<dt><a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></dt> |
36 |
Classes extended from Container: <A HREF="#top" CLASS="links">^TOP</A> |
<dd>This class is used for building and rendering an XML tag.</dd> |
37 |
</H3> |
</dl> |
38 |
<a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a>, <a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a>, <a href="../phpHtmlLib/ContainerWidget.html">ContainerWidget</a>, <a href="../phpHtmlLib/XMLDocumentClass.html">XMLDocumentClass</a> |
<dl> |
39 |
|
<dt><a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></dt> |
40 |
|
<dd>this is the base widget class, that all widgets are based off of. It provides some basic members and methods</dd> |
41 |
|
</dl> |
42 |
|
<dl> |
43 |
|
<dt><a href="../phpHtmlLib/ContainerWidget.html">ContainerWidget</a></dt> |
44 |
|
<dd>This is just to maintain compatibility with the 1.1.0 release of phphtmllib</dd> |
45 |
|
</dl> |
46 |
|
<dl> |
47 |
|
<dt><a href="../phpHtmlLib/XMLDocumentClass.html">XMLDocumentClass</a></dt> |
48 |
|
<dd>This class lets you build a complete xml document and render it.</dd> |
49 |
|
</dl> |
50 |
|
<dl> |
51 |
|
<dt><a href="../phpHtmlLib/FormProcessing/FormProcessor.html">FormProcessor</a></dt> |
52 |
|
<dd>This is the main engine for the processing</dd> |
53 |
|
</dl> |
54 |
|
</p> |
55 |
<p> |
<p> |
56 |
<b><i>Located in File: Program_Root/ContainerClass.inc</i></b><br> |
<b><i>Located in File: Program_Root/ContainerClass.inc</i></b><br> |
57 |
</p> |
</p> |
58 |
<hr> |
<hr> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
59 |
This class is nothing more then a |
This class is nothing more then a |
60 |
<BR> |
<br /> |
61 |
container widget. It lets you |
<p>container widget. It lets you push data into it, and it will render each item indented properly so it works with the rest of the libs.</p><p>This is helpfull when you have a function that wants to return multiple Tag Objects or widgets. Just wrap them in this container and they will all get rendered with the current indentation level.</p><p>Base Class for phpHtmlLib</p> |
|
push data into it, and it will |
|
|
render each item indented properly |
|
|
so it works with the rest of the libs. |
|
|
|
|
|
This is helpfull when you have a function |
|
|
that wants to return multiple Tag Objects |
|
|
or widgets. Just wrap them in this container |
|
|
and they will all get rendered with the |
|
|
current indentation level. |
|
|
|
|
|
Base Class for phpHtmlLib |
|
|
|
|
62 |
<UL> |
<UL> |
63 |
|
<LI><b>author</b> - <CODE>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>></CODE></LI> |
64 |
<LI><b>Package</b> - <CODE>phpHtmlLib</CODE></LI> |
<LI><b>link</b> - <CODE><a href="http://phphtmllib.sourceforge.net">http://phphtmllib.sourceforge.net</a></CODE></LI> |
65 |
|
</UL> |
|
<LI><b>Author</b> - <CODE>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">waboring@buildabetterweb.com</a>></CODE></LI> |
|
|
|
|
|
<LI><b>Link</b> - <CODE>http://phphtmllib.sourceforge.net</CODE></LI> |
|
|
|
|
|
</UL> |
|
|
|
|
66 |
<hr> |
<hr> |
67 |
<!-- =========== VAR SUMMARY =========== --> |
<!-- =========== VAR SUMMARY =========== --> |
68 |
<A NAME='var_summary'><!-- --></A> |
<A NAME='var_summary'><!-- --></A> |
74 |
</TD> |
</TD> |
75 |
</TR> |
</TR> |
76 |
|
|
77 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='Container.html#$indent_flag'>$indent_flag</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> Flag for pretty (indented) output </blockquote> |
|
|
<blockquote> Default Value: <CODE>->TRUE<-</CODE> </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
78 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
79 |
<TD> |
<TD> |
80 |
<CODE><B><A HREF='Container.html#$_newline_after_content_flag'>$_newline_after_content_flag</A></B></CODE> |
<CODE><B><A HREF="../phpHtmlLib/Container.html#var$_flags">$_flags</A></B></CODE> |
81 |
<BR> |
<BR> |
82 |
<blockquote> Do we render a newline after the |
<blockquote> The flags that tell us </blockquote> |
83 |
contents has been rendered? </blockquote> |
<blockquote> Default Value: <CODE>-> _NEWLINEAFTERCONTENT<-</CODE> </blockquote> |
|
<blockquote> Default Value: <CODE>->TRUE<-</CODE> </blockquote> |
|
84 |
</TD> |
</TD> |
85 |
</TR> |
</TR> |
86 |
|
</TABLE> |
|
</TABLE> |
|
|
|
|
87 |
<hr> |
<hr> |
88 |
<!-- =========== VAR INHERITED SUMMARY =========== --> |
<!-- =========== VAR INHERITED SUMMARY =========== --> |
89 |
<A NAME='var_inherited_summary'><!-- --></A> |
<A NAME='var_inherited_summary'><!-- --></A> |
90 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
91 |
<TR CLASS='TableHeadingColor'> |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
92 |
<TD> |
<TD> |
93 |
<span CLASS="font12bold">Inherited Class Variable Summary</span> |
<span CLASS="font12bold">Inherited Class Variable Summary</span> |
94 |
<A HREF="#top" CLASS="links">^TOP</A> |
<A HREF="#top" CLASS="links">^TOP</A> |
95 |
</TD> |
</TD> |
96 |
</TR> |
</TR> |
97 |
|
|
98 |
|
</TABLE> |
|
</TABLE> |
|
|
|
|
|
<hr> |
|
|
<!-- =========== INHERITED METHOD SUMMARY =========== --> |
|
|
<A NAME='functions_inherited'><!-- --></A> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
|
|
<TR CLASS='TableHeadingColor'> |
|
|
<TD> |
|
|
<span CLASS="font12bold">Inherited Method Summary</span> |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
|
|
|
</TABLE> |
|
99 |
|
|
100 |
<hr> |
<hr> |
101 |
<!-- should have constructor at some point --> |
<!-- =========== METHOD SUMMARY =========== --> |
102 |
<!-- =========== Method SUMMARY =========== --> |
<A NAME='method_summary'><!-- --></A> |
|
<A NAME='Method_summary'><!-- --></A> |
|
103 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border"> |
104 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
105 |
<TD> |
<TD> |
108 |
</TD> |
</TD> |
109 |
</TR> |
</TR> |
110 |
|
|
111 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
112 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
113 |
<TD> |
<TD> |
114 |
<CODE><B><A HREF='Container.html#constructor Container'>void constructor Container ( )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/Container.html#methodContainer'>void constructor Container ( )</A></B></CODE> |
115 |
<BR> |
<BR> |
116 |
<blockquote> The constructor. </blockquote> |
<blockquote> The constructor. </blockquote> |
117 |
</TD> |
</TD> |
118 |
</TR> |
</TR> |
119 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
120 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
121 |
<TD> |
<TD> |
122 |
<CODE><B><A HREF='Container.html#add'>void add ( )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/Container.html#methodadd'>void add ( )</A></B></CODE> |
123 |
<BR> |
<BR> |
124 |
<blockquote> add content onto content stack </blockquote> |
<blockquote> add content onto content stack </blockquote> |
125 |
</TD> |
</TD> |
126 |
</TR> |
</TR> |
127 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
128 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
129 |
<TD> |
<TD> |
130 |
<CODE><B><A HREF='Container.html#add_reference'>void add_reference ( &$content )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/Container.html#methodadd_reference'>void add_reference ( &$content )</A></B></CODE> |
131 |
<BR> |
<BR> |
132 |
<blockquote> Add content onto content stack |
<blockquote> Add content onto content stack so you can change the item later. </blockquote> |
|
so you can change the item later. </blockquote> |
|
133 |
</TD> |
</TD> |
134 |
</TR> |
</TR> |
135 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
136 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
137 |
<TD> |
<TD> |
138 |
<CODE><B><A HREF='Container.html#count_content'>int count_content ( )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/Container.html#methodcount_content'>int count_content ( )</A></B></CODE> |
139 |
<BR> |
<BR> |
140 |
<blockquote> counts the number of content objects </blockquote> |
<blockquote> counts the number of content objects </blockquote> |
141 |
</TD> |
</TD> |
142 |
</TR> |
</TR> |
143 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
144 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
145 |
<TD> |
<TD> |
146 |
<CODE><B><A HREF='Container.html#get_indent_flag'>boolean get_indent_flag ( )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/Container.html#methodget_indent_flag'>boolean get_indent_flag ( )</A></B></CODE> |
147 |
<BR> |
<BR> |
148 |
<blockquote> This flag gets the current value |
<blockquote> This flag gets the current value of the indent flag </blockquote> |
|
of the indent flag </blockquote> |
|
149 |
</TD> |
</TD> |
150 |
</TR> |
</TR> |
151 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
152 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
153 |
<TD> |
<TD> |
154 |
<CODE><B><A HREF='Container.html#push'>void push ( )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/Container.html#methodpush'>void push ( )</A></B></CODE> |
155 |
<BR> |
<BR> |
156 |
<blockquote> Same as add(). </blockquote> |
<blockquote> Same as add(). </blockquote> |
157 |
</TD> |
</TD> |
158 |
</TR> |
</TR> |
159 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
160 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
161 |
<TD> |
<TD> |
162 |
<CODE><B><A HREF='Container.html#push_reference'>void push_reference ( &$content )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/Container.html#methodpush_reference'>void push_reference ( &$content )</A></B></CODE> |
163 |
<BR> |
<BR> |
164 |
<blockquote> Same as add_reference |
<blockquote> Same as add_reference NOTE : only exists for compatibility with 1.1.x </blockquote> |
|
NOTE : only exists for compatibility with 1.1.x </blockquote> |
|
165 |
</TD> |
</TD> |
166 |
</TR> |
</TR> |
167 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
168 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
169 |
<TD> |
<TD> |
170 |
<CODE><B><A HREF='Container.html#render'>string render ( [$indent_level = 1], [$output_debug = 0] )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/Container.html#methodrender'>string render ( [$indent_level = 0], [$output_debug = 0] )</A></B></CODE> |
171 |
<BR> |
<BR> |
172 |
<blockquote> This function is compatible with the |
<blockquote> This function is compatible with the rest of the phpHtmllib API spec. </blockquote> |
|
rest of the phpHtmllib API spec. </blockquote> |
|
173 |
</TD> |
</TD> |
174 |
</TR> |
</TR> |
175 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
176 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
177 |
<TD> |
<TD> |
178 |
<CODE><B><A HREF='Container.html#reset_content'>void reset_content ( )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/Container.html#methodreset_content'>void reset_content ( )</A></B></CODE> |
179 |
<BR> |
<BR> |
180 |
<blockquote> destroy existing content and start with new content. </blockquote> |
<blockquote> destroy existing content and start with new content. </blockquote> |
181 |
</TD> |
</TD> |
182 |
</TR> |
</TR> |
183 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
184 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
185 |
<TD> |
<TD> |
186 |
<CODE><B><A HREF='Container.html#set_collapse'>void set_collapse ( [$collapse = TRUE], [$indent = TRUE] )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/Container.html#methodset_collapse'>void set_collapse ( [$collapse = TRUE], [$indent = TRUE] )</A></B></CODE> |
187 |
<BR> |
<BR> |
188 |
<blockquote> This function turns on the collapse flag </blockquote> |
<blockquote> This function turns on the collapse flag </blockquote> |
189 |
</TD> |
</TD> |
190 |
</TR> |
</TR> |
191 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
192 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
193 |
<TD> |
<TD> |
194 |
<CODE><B><A HREF='Container.html#set_indent_flag'>void set_indent_flag ( $flag )</A></B></CODE> |
<CODE><B><A HREF='../phpHtmlLib/Container.html#methodset_indent_flag'>void set_indent_flag ( $flag )</A></B></CODE> |
195 |
<BR> |
<BR> |
196 |
<blockquote> function to set the indent flag </blockquote> |
<blockquote> function to set the indent flag </blockquote> |
197 |
</TD> |
</TD> |
198 |
</TR> |
</TR> |
199 |
|
<!-- =========== Summary =========== --> |
200 |
</TABLE> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
201 |
|
<TD> |
202 |
|
<CODE><B><A HREF='../phpHtmlLib/Container.html#method_set_flags'>void _set_flags ( )</A></B></CODE> |
203 |
|
<BR> |
204 |
|
<blockquote> This method is used to set the bitmask flags for this tag. It tells the class how to render the tag. </blockquote> |
205 |
|
</TD> |
206 |
|
</TR> |
207 |
|
</TABLE> |
208 |
|
<!-- =========== INHERITED METHOD SUMMARY =========== --> |
209 |
|
<A NAME='functions_inherited'><!-- --></A> |
210 |
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
211 |
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
212 |
|
<TD> |
213 |
|
<span CLASS="font12bold">Inherited Method Summary</span> |
214 |
|
<A HREF="#top" CLASS="links">^TOP</A> |
215 |
|
</TD> |
216 |
|
</TR> |
217 |
|
|
218 |
|
</TABLE> |
219 |
<hr> |
<hr> |
220 |
<!-- ============ VARIABLE DETAIL =========== --> |
<!-- ============ VARIABLE DETAIL =========== --> |
221 |
|
|
229 |
</TR> |
</TR> |
230 |
</TABLE> |
</TABLE> |
231 |
|
|
232 |
|
<A NAME='var$_flags'><!-- --></A><H3>$_flags</H3> (line <span class="linenumber">64</span>)<br /> |
233 |
<A NAME='$indent_flag'><!-- --></A><H3>$indent_flag</H3> |
<b>Data type:</b> mixed<br>The flags that tell us |
234 |
<b>Data type:</b> boolean<br> |
<br /> |
235 |
<!-- ========== Info from phpDoc block ========= --> |
<p>how to render the tag its contents, and the close</p> |
|
Flag for pretty (indented) output |
|
|
<BR> |
|
|
|
|
|
|
|
|
<UL> |
|
|
|
|
|
<LI><b>Access</b> - <CODE>public</CODE></LI> |
|
|
|
|
|
</UL> |
|
|
|
|
|
<HR> |
|
|
|
|
|
<A NAME='$_newline_after_content_flag'><!-- --></A><H3>$_newline_after_content_flag</H3> |
|
|
<b>Data type:</b> boolean<br> |
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
Do we render a newline after the |
|
|
contents has been rendered? |
|
|
<BR> |
|
|
|
|
|
|
|
236 |
<UL> |
<UL> |
237 |
|
</UL> |
|
</UL> |
|
|
|
|
238 |
<HR> |
<HR> |
|
|
|
|
|
|
239 |
<hr> |
<hr> |
240 |
<!-- ============ FUNCTION DETAIL =========== --> |
<!-- ============ METHOD DETAIL =========== --> |
241 |
|
|
242 |
<A NAME='function_detail'></A> |
<A NAME='method_detail'></A> |
243 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
244 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
245 |
<TD> |
<TD> |
249 |
</TR> |
</TR> |
250 |
</TABLE> |
</TABLE> |
251 |
<BR> |
<BR> |
|
|
|
252 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
253 |
<A NAME='constructor Container'><!-- --></A> |
<A NAME='methodContainer'><!-- --></A> |
254 |
<SPAN CLASS="font12bold">constructor Container</SPAN> |
<SPAN CLASS="font12bold">Constructor Container</SPAN> (line <span class="linenumber">76</span>) |
255 |
<BR> |
<BR> |
256 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
257 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
258 |
<span class="font10bold" style="color: #0000FF">constructor Container ( )</SPAN> |
<span class="font10bold" style="color: #0000FF">Container( |
259 |
|
)</SPAN> |
260 |
<BR> |
<BR> |
261 |
|
|
262 |
<BR> |
<BR> |
263 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
264 |
The constructor. |
The constructor. |
265 |
<BR> |
<br /> |
266 |
This lets you pass in data |
<p>This lets you pass in data that you want automatically added to the container. This works in the same manner as the push() method.</p> |
|
that you want automatically |
|
|
added to the container. This |
|
|
works in the same manner as |
|
|
the push() method. |
|
267 |
<DL> |
<DL> |
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
</DL> |
|
268 |
|
|
269 |
|
<DT class="font10bold">Function Info:</DT> |
270 |
|
</DL> |
271 |
</DIV> |
</DIV> |
272 |
<BR> |
<BR> |
|
|
|
273 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
274 |
<A NAME='add'><!-- --></A> |
<A NAME='methodadd'><!-- --></A> |
275 |
<SPAN CLASS="font12bold">add</SPAN> |
<SPAN CLASS="font12bold">add</SPAN> (line <span class="linenumber">172</span>) |
276 |
<BR> |
<BR> |
277 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
278 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
279 |
<span class="font10bold" style="color: #0000FF">add ( )</SPAN> |
<span class="font10bold" style="color: #0000FF">add( |
280 |
<BR> |
mixed |
281 |
Overridden in child class(es) as: <a href="../phpHtmlLib/XMLDocumentClass.html#add">XMLDocumentClass::add()</a><br> |
$content)</SPAN> |
282 |
|
<BR> |
283 |
|
<p>Overridden in child classes as:<br /> |
284 |
|
<dl> |
285 |
|
<dt><a href="../phpHtmlLib/XMLDocumentClass.html#methodadd">XMLDocumentClass::add()</a></dt> |
286 |
|
<dd>we override this class to make sure we push all content inside the local _xml_obj tag</dd> |
287 |
|
</dl> |
288 |
|
</p> |
289 |
|
|
290 |
<BR> |
<BR> |
291 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
292 |
add content onto content stack |
add content onto content stack |
293 |
<BR> |
<br /> |
294 |
adds content to tag as a FIFO. |
<p>adds content to tag as a FIFO. You can have n number of parameters. each one will get added in succession to the content.</p> |
|
You can have n number of parameters. |
|
|
each one will get added in succession to the content. |
|
295 |
<DL> |
<DL> |
296 |
<DT class="font10bold">Function Parameters:</DT> |
<DT class="font10bold">Function Parameters:</DT> |
297 |
|
<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> |
298 |
<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> |
|
299 |
|
<DT class="font10bold">Function Info:</DT> |
300 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>access</b> - public</DD> |
301 |
<DT class="font10bold">Function Info:</DT> |
</DL> |
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Access</b> - public</DD> |
|
|
|
|
|
</DL> |
|
|
|
|
302 |
</DIV> |
</DIV> |
303 |
<BR> |
<BR> |
|
|
|
304 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
305 |
<A NAME='add_reference'><!-- --></A> |
<A NAME='methodadd_reference'><!-- --></A> |
306 |
<SPAN CLASS="font12bold">add_reference</SPAN> |
<SPAN CLASS="font12bold">add_reference</SPAN> (line <span class="linenumber">214</span>) |
307 |
<BR> |
<BR> |
308 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
309 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
310 |
<span class="font10bold" style="color: #0000FF">add_reference ( &$content )</SPAN> |
<span class="font10bold" style="color: #0000FF">add_reference( |
311 |
|
mixed |
312 |
|
&$content, mixed |
313 |
|
$content)</SPAN> |
314 |
<BR> |
<BR> |
315 |
Overridden in child class(es) as: <a href="../phpHtmlLib/XMLDocumentClass.html#add_reference">XMLDocumentClass::add_reference()</a><br> |
<p>Overridden in child classes as:<br /> |
316 |
|
<dl> |
317 |
|
<dt><a href="../phpHtmlLib/XMLDocumentClass.html#methodadd_reference">XMLDocumentClass::add_reference()</a></dt> |
318 |
|
<dd>we override this class to make sure we push all content inside the local _xml_obj tag</dd> |
319 |
|
</dl> |
320 |
|
</p> |
321 |
|
|
322 |
<BR> |
<BR> |
323 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
324 |
<!-- ========== Info from phpDoc block ========= --> |
Add content onto content stack so you can change the item later. |
325 |
Add content onto content stack |
<br /> |
326 |
so you can change the item later. |
<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 push_reference("something");, since "something" is a static.</p> |
|
<BR> |
|
|
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 |
|
|
push_reference("something");, since "something" is a |
|
|
static. |
|
327 |
<DL> |
<DL> |
328 |
<DT class="font10bold">Function Parameters:</DT> |
<DT class="font10bold">Function Parameters:</DT> |
329 |
|
<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 push it, then modify it later.</DD> |
330 |
<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. |
|
331 |
the tag object gets stored as a |
<DT class="font10bold">Function Info:</DT> |
332 |
reference to the original, so you |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>access</b> - public</DD> |
333 |
can push 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> |
|
|
|
|
334 |
</DIV> |
</DIV> |
335 |
<BR> |
<BR> |
|
|
|
336 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
337 |
<A NAME='count_content'><!-- --></A> |
<A NAME='methodcount_content'><!-- --></A> |
338 |
<SPAN CLASS="font12bold">count_content</SPAN> |
<SPAN CLASS="font12bold">count_content</SPAN> (line <span class="linenumber">239</span>) |
339 |
<BR> |
<BR> |
340 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
341 |
<span class="font10bold" style="color: #FF0000">int</SPAN> |
<span class="font10bold" style="color: #FF0000">int</SPAN> |
342 |
<span class="font10bold" style="color: #0000FF">count_content ( )</SPAN> |
<span class="font10bold" style="color: #0000FF">count_content( |
343 |
|
)</SPAN> |
344 |
<BR> |
<BR> |
345 |
|
|
346 |
<BR> |
<BR> |
347 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
348 |
counts the number of content objects |
counts the number of content objects |
349 |
<BR> |
<br /> |
350 |
|
|
351 |
<DL> |
<DL> |
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Access</b> - public</DD> |
|
|
|
|
|
</DL> |
|
352 |
|
|
353 |
|
<DT class="font10bold">Function Info:</DT> |
354 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>access</b> - public</DD> |
355 |
|
</DL> |
356 |
</DIV> |
</DIV> |
357 |
<BR> |
<BR> |
|
|
|
358 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
359 |
<A NAME='get_indent_flag'><!-- --></A> |
<A NAME='methodget_indent_flag'><!-- --></A> |
360 |
<SPAN CLASS="font12bold">get_indent_flag</SPAN> |
<SPAN CLASS="font12bold">get_indent_flag</SPAN> (line <span class="linenumber">280</span>) |
361 |
<BR> |
<BR> |
362 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
363 |
<span class="font10bold" style="color: #FF0000">boolean</SPAN> |
<span class="font10bold" style="color: #FF0000">boolean</SPAN> |
364 |
<span class="font10bold" style="color: #0000FF">get_indent_flag ( )</SPAN> |
<span class="font10bold" style="color: #0000FF">get_indent_flag( |
365 |
|
)</SPAN> |
366 |
<BR> |
<BR> |
367 |
|
|
368 |
<BR> |
<BR> |
369 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
370 |
<!-- ========== Info from phpDoc block ========= --> |
This flag gets the current value of the indent flag |
371 |
This flag gets the current value |
<br /> |
|
of the indent flag |
|
|
<BR> |
|
372 |
|
|
373 |
<DL> |
<DL> |
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Access</b> - public</DD> |
|
|
|
|
|
</DL> |
|
374 |
|
|
375 |
|
<DT class="font10bold">Function Info:</DT> |
376 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>access</b> - public</DD> |
377 |
|
</DL> |
378 |
</DIV> |
</DIV> |
379 |
<BR> |
<BR> |
|
|
|
380 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
381 |
<A NAME='push'><!-- --></A> |
<A NAME='methodpush'><!-- --></A> |
382 |
<SPAN CLASS="font12bold">push</SPAN> |
<SPAN CLASS="font12bold">push</SPAN> (line <span class="linenumber">158</span>) |
383 |
<BR> |
<BR> |
384 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
385 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
386 |
<span class="font10bold" style="color: #0000FF">push ( )</SPAN> |
<span class="font10bold" style="color: #0000FF">push( |
387 |
<BR> |
mixed |
388 |
Overridden in child class(es) as: <a href="../phpHtmlLib/XMLDocumentClass.html#push">XMLDocumentClass::push()</a><br> |
$content)</SPAN> |
389 |
|
<BR> |
390 |
|
<p>Overridden in child classes as:<br /> |
391 |
|
<dl> |
392 |
|
<dt><a href="../phpHtmlLib/XMLDocumentClass.html#methodpush">XMLDocumentClass::push()</a></dt> |
393 |
|
<dd>Same as add().</dd> |
394 |
|
</dl> |
395 |
|
</p> |
396 |
|
|
397 |
<BR> |
<BR> |
398 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
399 |
Same as add(). |
Same as add(). |
400 |
<BR> |
<br /> |
401 |
NOTE: only exists for 1.1.x compatibility |
<p>NOTE: only exists for 1.1.x compatibility</p> |
402 |
<DL> |
<DL> |
403 |
<DT class="font10bold">Function Parameters:</DT> |
<DT class="font10bold">Function Parameters:</DT> |
404 |
|
<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> |
405 |
<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> |
|
406 |
|
<DT class="font10bold">Function Info:</DT> |
407 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>access</b> - public</DD> |
408 |
<DT class="font10bold">Function Info:</DT> |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>deprecated</b> - </DD> |
409 |
|
</DL> |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Access</b> - public</DD> |
|
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Deprecated</b> - </DD> |
|
|
|
|
|
</DL> |
|
|
|
|
410 |
</DIV> |
</DIV> |
411 |
<BR> |
<BR> |
|
|
|
412 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
413 |
<A NAME='push_reference'><!-- --></A> |
<A NAME='methodpush_reference'><!-- --></A> |
414 |
<SPAN CLASS="font12bold">push_reference</SPAN> |
<SPAN CLASS="font12bold">push_reference</SPAN> (line <span class="linenumber">193</span>) |
415 |
<BR> |
<BR> |
416 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
417 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
418 |
<span class="font10bold" style="color: #0000FF">push_reference ( &$content )</SPAN> |
<span class="font10bold" style="color: #0000FF">push_reference( |
419 |
|
mixed |
420 |
|
&$content)</SPAN> |
421 |
<BR> |
<BR> |
422 |
Overridden in child class(es) as: <a href="../phpHtmlLib/XMLDocumentClass.html#push_reference">XMLDocumentClass::push_reference()</a><br> |
<p>Overridden in child classes as:<br /> |
423 |
|
<dl> |
424 |
|
<dt><a href="../phpHtmlLib/XMLDocumentClass.html#methodpush_reference">XMLDocumentClass::push_reference()</a></dt> |
425 |
|
<dd>Same as add_reference NOTE : only exists for compatibility with 1.1.x</dd> |
426 |
|
</dl> |
427 |
|
</p> |
428 |
|
|
429 |
<BR> |
<BR> |
430 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
431 |
<!-- ========== Info from phpDoc block ========= --> |
Same as add_reference NOTE : only exists for compatibility with 1.1.x |
432 |
Same as add_reference |
<br /> |
|
NOTE : only exists for compatibility with 1.1.x |
|
|
<BR> |
|
433 |
|
|
434 |
<DL> |
<DL> |
435 |
<DT class="font10bold">Function Parameters:</DT> |
<DT class="font10bold">Function Parameters:</DT> |
436 |
|
<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> - a reference to some variable.</DD> |
437 |
<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> - a reference to some variable.</DD> |
|
438 |
|
<DT class="font10bold">Function Info:</DT> |
439 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>access</b> - public</DD> |
440 |
<DT class="font10bold">Function Info:</DT> |
</DL> |
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Access</b> - public</DD> |
|
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Deprecated</b> - </DD> |
|
|
|
|
|
</DL> |
|
|
|
|
441 |
</DIV> |
</DIV> |
442 |
<BR> |
<BR> |
|
|
|
443 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
444 |
<A NAME='render'><!-- --></A> |
<A NAME='methodrender'><!-- --></A> |
445 |
<SPAN CLASS="font12bold">render</SPAN> |
<SPAN CLASS="font12bold">render</SPAN> (line <span class="linenumber">106</span>) |
446 |
<BR> |
<BR> |
447 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
448 |
<span class="font10bold" style="color: #FF0000">string</SPAN> |
<span class="font10bold" style="color: #FF0000">string</SPAN> |
449 |
<span class="font10bold" style="color: #0000FF">render ( [$indent_level = 1], [$output_debug = 0] )</SPAN> |
<span class="font10bold" style="color: #0000FF">render( |
450 |
<BR> |
int |
451 |
Overridden in child class(es) as: <a href="../phpHtmlLib/XMLTagClass.html#render">XMLTagClass::render()</a>, <a href="../phpHtmlLib/XMLDocumentClass.html#render">XMLDocumentClass::render()</a><br> |
$indent_level, int |
452 |
|
$output_debug)</SPAN> |
453 |
|
<BR> |
454 |
|
<p>Overridden in child classes as:<br /> |
455 |
|
<dl> |
456 |
|
<dt><a href="../phpHtmlLib/XMLTagClass.html#methodrender">XMLTagClass::render()</a></dt> |
457 |
|
<dd>This function is responsible for rendering the tag and its contents</dd> |
458 |
|
</dl> |
459 |
|
<dl> |
460 |
|
<dt><a href="../phpHtmlLib/XMLDocumentClass.html#methodrender">XMLDocumentClass::render()</a></dt> |
461 |
|
<dd>function that will render the XML Document.</dd> |
462 |
|
</dl> |
463 |
|
<dl> |
464 |
|
<dt><a href="../phpHtmlLib/FormProcessing/FormProcessor.html#methodrender">FormProcessor::render()</a></dt> |
465 |
|
<dd>This method is called to render the form's html</dd> |
466 |
|
</dl> |
467 |
|
</p> |
468 |
|
|
469 |
<BR> |
<BR> |
470 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
471 |
<!-- ========== Info from phpDoc block ========= --> |
This function is compatible with the rest of the phpHtmllib API spec. |
472 |
This function is compatible with the |
<br /> |
473 |
rest of the phpHtmllib API spec. |
<p>It just walks through each of the class' data and renders it with the appropriate indentation.</p> |
474 |
<BR> |
<DL> |
475 |
It just walks through each of the |
<DT class="font10bold">Function Parameters:</DT> |
476 |
class' data and renders it with the |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$indent_level</SPAN></SPAN> - the indentation level for the container.</DD> |
477 |
appropriate indentation. |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$output_debug</SPAN></SPAN> - the output debug flag to maintain compatibility w/ the API.</DD> |
478 |
<DL> |
|
479 |
<DT class="font10bold">Function Parameters:</DT> |
<DT class="font10bold">Function Info:</DT> |
480 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - the raw html output.</DD> |
481 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$indent_level</SPAN></SPAN> - the indentation level for |
</DL> |
|
the container.</DD> |
|
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$output_debug</SPAN></SPAN> - the output debug flag to |
|
|
maintain compatibility w/ the API.</DD> |
|
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - the raw html output.</DD> |
|
|
|
|
|
</DL> |
|
|
|
|
482 |
</DIV> |
</DIV> |
483 |
<BR> |
<BR> |
|
|
|
484 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
485 |
<A NAME='reset_content'><!-- --></A> |
<A NAME='methodreset_content'><!-- --></A> |
486 |
<SPAN CLASS="font12bold">reset_content</SPAN> |
<SPAN CLASS="font12bold">reset_content</SPAN> (line <span class="linenumber">226</span>) |
487 |
<BR> |
<BR> |
488 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
489 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
490 |
<span class="font10bold" style="color: #0000FF">reset_content ( )</SPAN> |
<span class="font10bold" style="color: #0000FF">reset_content( |
491 |
<BR> |
mixed |
492 |
Overridden in child class(es) as: <a href="../phpHtmlLib/XMLDocumentClass.html#reset_content">XMLDocumentClass::reset_content()</a><br> |
$content)</SPAN> |
493 |
|
<BR> |
494 |
|
<p>Overridden in child classes as:<br /> |
495 |
|
<dl> |
496 |
|
<dt><a href="../phpHtmlLib/XMLDocumentClass.html#methodreset_content">XMLDocumentClass::reset_content()</a></dt> |
497 |
|
<dd>we override this class to make sure we push all content inside the local _xml_obj tag</dd> |
498 |
|
</dl> |
499 |
|
</p> |
500 |
|
|
501 |
<BR> |
<BR> |
502 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
503 |
destroy existing content and start with new content. |
destroy existing content and start with new content. |
504 |
<BR> |
<br /> |
505 |
|
|
506 |
<DL> |
<DL> |
507 |
<DT class="font10bold">Function Parameters:</DT> |
<DT class="font10bold">Function Parameters:</DT> |
508 |
|
<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> can be tag object, or raw (string).</DD> |
509 |
<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> can be tag object, or raw (string).</DD> |
|
510 |
|
<DT class="font10bold">Function Info:</DT> |
511 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>access</b> - public</DD> |
512 |
<DT class="font10bold">Function Info:</DT> |
</DL> |
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Access</b> - public</DD> |
|
|
|
|
|
</DL> |
|
|
|
|
513 |
</DIV> |
</DIV> |
514 |
<BR> |
<BR> |
|
|
|
515 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
516 |
<A NAME='set_collapse'><!-- --></A> |
<A NAME='methodset_collapse'><!-- --></A> |
517 |
<SPAN CLASS="font12bold">set_collapse</SPAN> |
<SPAN CLASS="font12bold">set_collapse</SPAN> (line <span class="linenumber">294</span>) |
518 |
<BR> |
<BR> |
519 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
520 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
521 |
<span class="font10bold" style="color: #0000FF">set_collapse ( [$collapse = TRUE], [$indent = TRUE] )</SPAN> |
<span class="font10bold" style="color: #0000FF">set_collapse( |
522 |
<BR> |
[boolean |
523 |
Overridden in child class(es) as: <a href="../phpHtmlLib/XMLTagClass.html#set_collapse">XMLTagClass::set_collapse()</a><br> |
$collapse = TRUE], [boolean |
524 |
|
$indent = TRUE])</SPAN> |
525 |
|
<BR> |
526 |
|
<p>Overridden in child classes as:<br /> |
527 |
|
<dl> |
528 |
|
<dt><a href="../phpHtmlLib/XMLTagClass.html#methodset_collapse">XMLTagClass::set_collapse()</a></dt> |
529 |
|
<dd>This function turns on the collapse flag</dd> |
530 |
|
</dl> |
531 |
|
</p> |
532 |
|
|
533 |
<BR> |
<BR> |
534 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
535 |
This function turns on the collapse flag |
This function turns on the collapse flag |
536 |
<BR> |
<br /> |
537 |
|
|
538 |
<DL> |
<DL> |
539 |
<DT class="font10bold">Function Parameters:</DT> |
<DT class="font10bold">Function Parameters:</DT> |
540 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$collapse</SPAN></SPAN> - the collapse flag</DD> |
541 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$collapse</SPAN></SPAN> - the collapse flag</DD> |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$indent</SPAN></SPAN> - the indent flag DEFAULT: TRUE;</DD> |
542 |
|
|
543 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$indent</SPAN></SPAN> - the indent flag |
<DT class="font10bold">Function Info:</DT> |
544 |
DEFAULT: TRUE;</DD> |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>access</b> - public</DD> |
545 |
|
</DL> |
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Access</b> - public</DD> |
|
|
|
|
|
</DL> |
|
|
|
|
546 |
</DIV> |
</DIV> |
547 |
<BR> |
<BR> |
|
|
|
548 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
549 |
<A NAME='set_indent_flag'><!-- --></A> |
<A NAME='methodset_indent_flag'><!-- --></A> |
550 |
<SPAN CLASS="font12bold">set_indent_flag</SPAN> |
<SPAN CLASS="font12bold">set_indent_flag</SPAN> (line <span class="linenumber">263</span>) |
551 |
<BR> |
<BR> |
552 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
553 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
554 |
<span class="font10bold" style="color: #0000FF">set_indent_flag ( $flag )</SPAN> |
<span class="font10bold" style="color: #0000FF">set_indent_flag( |
555 |
|
boolean |
556 |
|
$flag)</SPAN> |
557 |
<BR> |
<BR> |
558 |
|
|
559 |
<BR> |
<BR> |
560 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
561 |
function to set the indent flag |
function to set the indent flag |
562 |
<BR> |
<br /> |
563 |
|
|
564 |
<DL> |
<DL> |
565 |
<DT class="font10bold">Function Parameters:</DT> |
<DT class="font10bold">Function Parameters:</DT> |
566 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$flag</SPAN></SPAN> TRUE or FALSE</DD> |
567 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$flag</SPAN></SPAN> TRUE or FALSE</DD> |
|
568 |
|
<DT class="font10bold">Function Info:</DT> |
569 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>access</b> - public</DD> |
570 |
<DT class="font10bold">Function Info:</DT> |
</DL> |
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Access</b> - public</DD> |
|
|
|
|
|
</DL> |
|
|
|
|
571 |
</DIV> |
</DIV> |
572 |
<BR> |
<BR> |
573 |
|
<DIV CLASS="function"> |
574 |
|
<A NAME='method_set_flags'><!-- --></A> |
575 |
|
<SPAN CLASS="font12bold">_set_flags</SPAN> (line <span class="linenumber">252</span>) |
576 |
|
<BR> |
577 |
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
578 |
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
579 |
|
<span class="font10bold" style="color: #0000FF">_set_flags( |
580 |
|
)</SPAN> |
581 |
|
<BR> |
582 |
|
<p>Overridden in child classes as:<br /> |
583 |
|
<dl> |
584 |
|
<dt><a href="../phpHtmlLib/XMLTagClass.html#method_set_flags">XMLTagClass::_set_flags()</a></dt> |
585 |
|
<dd>This method is used to set the bitmask flags for this tag. It tells the class how to render the tag.</dd> |
586 |
|
</dl> |
587 |
|
</p> |
588 |
|
|
589 |
|
<BR> |
590 |
|
<SPAN CLASS="font10bold">Description : </SPAN> |
591 |
|
This method is used to set the bitmask flags for this tag. It tells the class how to render the tag. |
592 |
|
<br /> |
593 |
|
<p>NOTE: the child class can override this to set the options</p> |
594 |
|
<DL> |
595 |
|
|
596 |
<hr> |
<DT class="font10bold">Function Info:</DT> |
597 |
</HTML> |
</DL> |
598 |
|
</DIV> |
599 |
|
<BR> |
600 |
|
<div id="credit"> |
601 |
|
<hr> |
602 |
|
Documention generated on Thu, 20 Feb 2003 16:22:32 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a> |
603 |
|
</div> |
604 |
|
</body> |
605 |
|
</html> |