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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

1 <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN' 'http://www.w3.org/TR/REC-html40/loose.dtd'>
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by PhpDoc date: 'Thu, 20 Feb 2003 16:23:05 -0800' -->
6 <TITLE>Docs for page misc_utils.inc</TITLE>
7 <LINK REL ='stylesheet' TYPE='text/css' HREF='../media/stylesheet.css' TITLE='Style'>
8 </HEAD>
9 <BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;">
10 <!-- Links -->
11 <a NAME="top"></A>
12 <table WIDTH="100%" class="links">
13 <TR>
14 <TD class="font10">
15 Links:
16 <A HREF="#classes_summary" class="links" title="Classes created in this file">Classes</A>
17 <A HREF="#includes_summary" class="links" title="Include Statements Summary">Includes</A>
18 <A HREF="#global_summary" class="links" title="Global Variable Summary">Globals</A>
19 <A HREF="#constant_summary" class="links" title="Constant Summary">Constants</A>
20 <A HREF="#function_summary" class="links" title="Function Summary">Functions</A>
21 <A HREF="#includes_detail" class="links" title="Include Statements Detail">Includes Detail</A>
22 <A HREF="#global_detail" class="links" title="Global Variable Detail">Globals Detail</A>
23 <A HREF="#constant_detail" class="links" title="Constant Detail">Constants Detail</A>
24 <A HREF="#function_detail" class="links" title="Function Detail">Functions Detail</A>
25 </TD>
26 </TR>
27 </TABLE>
28 <BR>
29 <h2>File: Program_Root/tag_utils/misc_utils.inc</h2>
30 This file contains miscellaneous functions used by the phpHtmllibs that don't seem to fit in the other files.
31 <br />
32 <p>$Id: _tag_utils_misc_utils_inc.html,v 1.22 2003/02/21 00:44:00 hemna Exp $</p>
33 <UL>
34 <LI><b>author</b> - <CODE>Walter A. Boring IV &lt;<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>&gt;</CODE></LI>
35 </UL>
36 <!-- =========== Used Classes =========== -->
37 <A NAME='classes_summary'><!-- --></A>
38 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="bordernobottom">
39 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
40 <TD>
41 <span class="font12bold">Classes defined in this file</span>
42 <A HREF="#top" CLASS="links">^TOP</A>
43 </TD>
44 </TR>
45 </TABLE>
46 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
47 <THEAD>
48 <TR><TD STYLE="width:20%"><h4>CLASS NAME</h4></TD><TD STYLE="width: 80%"><h4>DESCRIPTION</h4></TD></TR>
49 </THEAD>
50 <TBODY>
51 </TBODY>
52 </TABLE>
53 <br>
54 <!-- =========== Includes SUMMARY =========== -->
55 <A NAME='includes_summary'><!-- --></A>
56 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom">
57 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
58 <TD>
59 <span CLASS="font12bold">Include Statements Summary</span>
60 <A HREF="#top" CLASS="links">^TOP</A>
61 </TD>
62 </TR>
63 </TABLE>
64 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
65 <THEAD>
66 <TR><TH>INCLUDE TYPE</TH><TH>INCLUDED FILENAME</TH><TH>DESCRIPTION</TH></TR>
67 </THEAD>
68 <TBODY>
69 </TBODY>
70 </TABLE>
71 <br>
72 <br>
73 <!-- =========== GLOBAL VARIABLE SUMMARY =========== -->
74 <A NAME='global_summary'><!-- --></A>
75 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom">
76 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
77 <TD>
78 <span CLASS="font12bold">Global Variable Summary</span>
79 <A HREF="#top" CLASS="links">^TOP</A>
80 </TD>
81 </TR>
82 </TABLE>
83 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
84 <THEAD>
85 <TR><TH>VARIABLE NAME</TH><TH>VARIABLE VALUE</TH><TH>DESCRIPTION</TH></TR>
86 </THEAD>
87 <TBODY>
88 </TBODY>
89 </TABLE>
90 <br>
91 <br>
92 <!-- =========== CONSTANT SUMMARY =========== -->
93 <A NAME='constant_summary'><!-- --></A>
94 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="bordernobottom">
95 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
96 <TD>
97 <span class="font12bold">Constant Summary</span>
98 <A HREF="#top" CLASS="links">^TOP</A>
99 </TD>
100 </TR>
101 </TABLE>
102 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
103 <THEAD>
104 <TR><TH>CONSTANT NAME</TH><TH>CONSTANT VALUE</TH><TH>DESCRIPTION</TH></TR>
105 </THEAD>
106 <TBODY>
107 </TBODY>
108 </TABLE>
109 <br>
110 <br>
111 <!-- =========== FUNCTION SUMMARY =========== -->
112 <A NAME='function_summary'><!-- --></A>
113 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="bordernobottom">
114 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
115 <TD>
116 <span class="font12bold">Function Summary</span>
117 <A HREF="#top" CLASS="links">^TOP</A>
118 </TD>
119 </TR>
120
121 <!-- =========== Summary =========== -->
122 <TR BGCOLOR='white' CLASS='TableRowColor'>
123 <TD>
124 <CODE><B><A HREF="../phpHtmlLib/_tag_utils_misc_utils_inc.html#functionbuild_spacergif_imgtag"><a href="../phpHtmlLib/IMGtag.html">IMGtag</a> build_spacergif_imgtag ( [$width = 1], [$height = 1], [$img_path = "/images"] )</A></B></CODE>
125 <BR>
126 <blockquote> This builds an IMG tag object that is used to show a spacer image. </blockquote>
127 </TD>
128 </TR>
129 <!-- =========== Summary =========== -->
130 <TR BGCOLOR='white' CLASS='TableRowColor'>
131 <TD>
132 <CODE><B><A HREF="../phpHtmlLib/_tag_utils_misc_utils_inc.html#functioncdata_wrapper">void cdata_wrapper ( $content )</A></B></CODE>
133 <BR>
134 <blockquote> This function is used to wrap </blockquote>
135 </TD>
136 </TR>
137 <!-- =========== Summary =========== -->
138 <TR BGCOLOR='white' CLASS='TableRowColor'>
139 <TD>
140 <CODE><B><A HREF="../phpHtmlLib/_tag_utils_misc_utils_inc.html#functioncontainer"><a href="../phpHtmlLib/ContainerWidget.html">ContainerWidget</a> container ( [0 = - variable # of args] )</A></B></CODE>
141 <BR>
142 <blockquote> This function creates a new container widget and stuffs all the args into it. </blockquote>
143 </TD>
144 </TR>
145 <!-- =========== Summary =========== -->
146 <TR BGCOLOR='white' CLASS='TableRowColor'>
147 <TD>
148 <CODE><B><A HREF="../phpHtmlLib/_tag_utils_misc_utils_inc.html#functionpush_args"><a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a> push_args ( $tag_object, $args )</A></B></CODE>
149 <BR>
150 <blockquote> This function pushes an array of keys into an HTMLTagObject </blockquote>
151 </TD>
152 </TR>
153 </TABLE>
154 <br>
155 <!-- ============ Includes DETAIL =========== -->
156
157 <A NAME='includes_detail'></A>
158 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
159 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
160 <TD>
161 <span CLASS="font12bold">Include Statements Detail</span>
162 <A HREF="#top" CLASS="links">^TOP</A>
163 </TD>
164 </TR>
165 </TABLE>
166
167 <br>
168 <!-- ============ GLOBALS DETAIL =========== -->
169
170 <A NAME='global_detail'></A>
171 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom">
172 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
173 <TD>
174 <span CLASS="font12bold">Global Variable Detail</span>
175 <A HREF="#top" CLASS="links">^TOP</A>
176 </TD>
177 </TR>
178 </TABLE>
179
180 <br>
181 <!-- ============ CONSTANT DETAIL =========== -->
182
183 <A NAME='constant_detail'></A>
184 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom">
185 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
186 <TD>
187 <span CLASS="font12bold">Constant Detail</span>
188 <A HREF="#top" CLASS="links">^TOP</A>
189 </TD>
190 </TR>
191 </TABLE>
192
193 <br>
194 <!-- ============ FUNCTION DETAIL =========== -->
195
196 <A NAME='function_detail'></A>
197 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom">
198 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
199 <TD>
200 <span class="font12bold">Function Detail</span>
201 <A HREF="#top" CLASS="links">^TOP</A>
202 </TD>
203 </TR>
204 </TABLE>
205 <BR>
206
207 <DIV CLASS="function">
208 <A NAME="functionbuild_spacergif_imgtag"><!-- --></A>
209 <SPAN CLASS="font12bold">build_spacergif_imgtag</SPAN> (line <span class="linenumber">28</span>)
210 <BR>
211 <SPAN CLASS="font10bold">Usage : </SPAN>
212 <span class="font10bold" style="color: #FF0000"><a href="../phpHtmlLib/IMGtag.html">IMGtag</a></SPAN>&nbsp;
213 <span class="font10bold" style="color: #0000FF">build_spacergif_imgtag(
214 [int $width = 1], [int $height = 1], [string $img_path = "/images"])</SPAN>
215 <BR>
216 <BR>
217 <SPAN CLASS="font10bold">Description : </SPAN>
218 This builds an IMG tag object that is used to show a spacer image.
219 <br />
220 <p>&lt;img src="spacer.gif" width="$width" height="$height"&gt;</p>
221 <DL>
222 <DT class="font10bold">Function Parameters:</DT>
223 <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">$width</SPAN></SPAN> - the width of the img ( DEFAULT : 1)</DD>
224 <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">$height</SPAN></SPAN> - the height of the img ( DEFAULT : 1)</DD>
225 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$img_path</SPAN></SPAN> - The dir that holds the spacer.gif file. ( DEFAULT = "/images" )</DD>
226
227 <DT class="font10bold">Function Info:</DT>
228 <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - object.</DD>
229 </DL>
230 </DIV>
231 <BR>
232
233 <DIV CLASS="function">
234 <A NAME="functioncdata_wrapper"><!-- --></A>
235 <SPAN CLASS="font12bold">cdata_wrapper</SPAN> (line <span class="linenumber">81</span>)
236 <BR>
237 <SPAN CLASS="font10bold">Usage : </SPAN>
238 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
239 <span class="font10bold" style="color: #0000FF">cdata_wrapper(
240 string $content)</SPAN>
241 <BR>
242 <BR>
243 <SPAN CLASS="font10bold">Description : </SPAN>
244 This function is used to wrap
245 <br />
246 <p>a string in the standard CDATA section wrapper for a tag content</p><p>&lt;![CDATA[ CONTENT ]]&gt;</p>
247 <DL>
248 <DT class="font10bold">Function Parameters:</DT>
249 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$content</SPAN></SPAN> the content to wrap</DD>
250
251 <DT class="font10bold">Function Info:</DT>
252 </DL>
253 </DIV>
254 <BR>
255
256 <DIV CLASS="function">
257 <A NAME="functioncontainer"><!-- --></A>
258 <SPAN CLASS="font12bold">container</SPAN> (line <span class="linenumber">60</span>)
259 <BR>
260 <SPAN CLASS="font10bold">Usage : </SPAN>
261 <span class="font10bold" style="color: #FF0000"><a href="../phpHtmlLib/ContainerWidget.html">ContainerWidget</a></SPAN>&nbsp;
262 <span class="font10bold" style="color: #0000FF">container(
263 [mixed 0 = - variable # of args])</SPAN>
264 <BR>
265 <BR>
266 <SPAN CLASS="font10bold">Description : </SPAN>
267 This function creates a new container widget and stuffs all the args into it.
268 <br />
269
270 <DL>
271 <DT class="font10bold">Function Parameters:</DT>
272 <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">0</SPAN></SPAN> - variable # of args</DD>
273
274 <DT class="font10bold">Function Info:</DT>
275 <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - object</DD>
276 </DL>
277 </DIV>
278 <BR>
279
280 <DIV CLASS="function">
281 <A NAME="functionpush_args"><!-- --></A>
282 <SPAN CLASS="font12bold">push_args</SPAN> (line <span class="linenumber">44</span>)
283 <BR>
284 <SPAN CLASS="font10bold">Usage : </SPAN>
285 <span class="font10bold" style="color: #FF0000"><a href="../phpHtmlLib/HTMLTagClass.html">HTMLTagClass</a></SPAN>&nbsp;
286 <span class="font10bold" style="color: #0000FF">push_args(
287 object $tag_object, array $args)</SPAN>
288 <BR>
289 <BR>
290 <SPAN CLASS="font10bold">Description : </SPAN>
291 This function pushes an array of keys into an HTMLTagObject
292 <br />
293
294 <DL>
295 <DT class="font10bold">Function Parameters:</DT>
296 <DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">object</SPAN> <span style="color: #0000FF;font-weight:bold">$tag_object</SPAN></SPAN> - the HTMLTagClass object.</DD>
297 <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">$args</SPAN></SPAN> - the array of data to push array("blah", "foo", "bar");</DD>
298
299 <DT class="font10bold">Function Info:</DT>
300 <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - object.</DD>
301 </DL>
302 </DIV>
303 <BR>
304 <br>
305 <div id="credit">
306 <hr>
307 Documention generated on Thu, 20 Feb 2003 16:23:05 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a>
308 </div>
309 </body>
310 </html>
311 </HTML>

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