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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Sat Feb 22 20:56:38 2003 UTC (21 years, 6 months ago) by jonen
Branch: MAIN
Changes since 1.1: +107 -184 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:22:40 -0800' -->
6 <TITLE>Docs for page divtag_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/divtag_utils.inc</h2>
30 this file holds special DIVtag rendering functions.
31 <br />
32 <p>Since the &lt;div&gt; is commonly used for special things we automate some common used &lt;div&gt; content &lt;/div&gt; rendering functions.</p><p>$Id: _tag_utils_divtag_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 <TR BGCOLOR='white' CLASS='TableRowColor'>
70 <TD><A HREF="#_$phphtmllib/tag_utils/html_utils_inc">require_once</A></TD>
71 <TD>"$phphtmllib/tag_utils/html_utils.inc"</TD>
72 <TD>make sure we include the required functions</TD>
73 </TR>
74 </TBODY>
75 </TABLE>
76 <br>
77 <br>
78 <!-- =========== GLOBAL VARIABLE SUMMARY =========== -->
79 <A NAME='global_summary'><!-- --></A>
80 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom">
81 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
82 <TD>
83 <span CLASS="font12bold">Global Variable Summary</span>
84 <A HREF="#top" CLASS="links">^TOP</A>
85 </TD>
86 </TR>
87 </TABLE>
88 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
89 <THEAD>
90 <TR><TH>VARIABLE NAME</TH><TH>VARIABLE VALUE</TH><TH>DESCRIPTION</TH></TR>
91 </THEAD>
92 <TBODY>
93 </TBODY>
94 </TABLE>
95 <br>
96 <br>
97 <!-- =========== CONSTANT SUMMARY =========== -->
98 <A NAME='constant_summary'><!-- --></A>
99 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="bordernobottom">
100 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
101 <TD>
102 <span class="font12bold">Constant Summary</span>
103 <A HREF="#top" CLASS="links">^TOP</A>
104 </TD>
105 </TR>
106 </TABLE>
107 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
108 <THEAD>
109 <TR><TH>CONSTANT NAME</TH><TH>CONSTANT VALUE</TH><TH>DESCRIPTION</TH></TR>
110 </THEAD>
111 <TBODY>
112 </TBODY>
113 </TABLE>
114 <br>
115 <br>
116 <!-- =========== FUNCTION SUMMARY =========== -->
117 <A NAME='function_summary'><!-- --></A>
118 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="bordernobottom">
119 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
120 <TD>
121 <span class="font12bold">Function Summary</span>
122 <A HREF="#top" CLASS="links">^TOP</A>
123 </TD>
124 </TR>
125
126 <!-- =========== Summary =========== -->
127 <TR BGCOLOR='white' CLASS='TableRowColor'>
128 <TD>
129 <CODE><B><A HREF="../phpHtmlLib/_tag_utils_divtag_utils_inc.html#functiondiv_build_spacergif_tag"><a href="../phpHtmlLib/DIVtag.html">DIVtag</a> div_build_spacergif_tag ( $width, $height )</A></B></CODE>
130 <BR>
131 <blockquote> Render a div w/ a spacer give as its content. </blockquote>
132 </TD>
133 </TR>
134 <!-- =========== Summary =========== -->
135 <TR BGCOLOR='white' CLASS='TableRowColor'>
136 <TD>
137 <CODE><B><A HREF="../phpHtmlLib/_tag_utils_divtag_utils_inc.html#functionhtml_div"><a href="../phpHtmlLib/DIVtag.html">DIVtag</a> html_div ( [$class = ""] )</A></B></CODE>
138 <BR>
139 <blockquote> build a new div tag with content </blockquote>
140 </TD>
141 </TR>
142 <!-- =========== Summary =========== -->
143 <TR BGCOLOR='white' CLASS='TableRowColor'>
144 <TD>
145 <CODE><B><A HREF="../phpHtmlLib/_tag_utils_divtag_utils_inc.html#functionhtml_div_center"><a href="../phpHtmlLib/DIVtag.html">DIVtag</a> html_div_center ( [0 = - any # of arguments that will live in the <div></div>] )</A></B></CODE>
146 <BR>
147 <blockquote> build a new div tag with default attributes of "align=center" </blockquote>
148 </TD>
149 </TR>
150 <!-- =========== Summary =========== -->
151 <TR BGCOLOR='white' CLASS='TableRowColor'>
152 <TD>
153 <CODE><B><A HREF="../phpHtmlLib/_tag_utils_divtag_utils_inc.html#functionhtml_div_small"><a href="../phpHtmlLib/DIVtag.html">DIVtag</a> html_div_small ( [0 = - any # of arguments that will live in the <div></div>] )</A></B></CODE>
154 <BR>
155 <blockquote> This builds the 1px font size DIVtag object, which can be used anywhere </blockquote>
156 </TD>
157 </TR>
158 </TABLE>
159 <br>
160 <!-- ============ Includes DETAIL =========== -->
161
162 <A NAME='includes_detail'></A>
163 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
164 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
165 <TD>
166 <span CLASS="font12bold">Include Statements Detail</span>
167 <A HREF="#top" CLASS="links">^TOP</A>
168 </TD>
169 </TR>
170 </TABLE>
171
172 <DIV CLASS="function">
173 <A NAME="_$phphtmllib/tag_utils/html_utils_inc"><!-- --></A>
174 <span class="font10bold">Include Type : </span>require_once (line <span class="linenumber">20</span>)
175 <BR>
176 <span class="font10bold">Include File : </span>"$phphtmllib/tag_utils/html_utils.inc"
177 <BR>
178 make sure we include the required functions
179 <br />
180
181 <UL>
182 </UL>
183 </DIV>
184 <br>
185 <!-- ============ GLOBALS DETAIL =========== -->
186
187 <A NAME='global_detail'></A>
188 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom">
189 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
190 <TD>
191 <span CLASS="font12bold">Global Variable Detail</span>
192 <A HREF="#top" CLASS="links">^TOP</A>
193 </TD>
194 </TR>
195 </TABLE>
196
197 <br>
198 <!-- ============ CONSTANT DETAIL =========== -->
199
200 <A NAME='constant_detail'></A>
201 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom">
202 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
203 <TD>
204 <span CLASS="font12bold">Constant Detail</span>
205 <A HREF="#top" CLASS="links">^TOP</A>
206 </TD>
207 </TR>
208 </TABLE>
209
210 <br>
211 <!-- ============ FUNCTION DETAIL =========== -->
212
213 <A NAME='function_detail'></A>
214 <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom">
215 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
216 <TD>
217 <span class="font12bold">Function Detail</span>
218 <A HREF="#top" CLASS="links">^TOP</A>
219 </TD>
220 </TR>
221 </TABLE>
222 <BR>
223
224 <DIV CLASS="function">
225 <A NAME="functiondiv_build_spacergif_tag"><!-- --></A>
226 <SPAN CLASS="font12bold">div_build_spacergif_tag</SPAN> (line <span class="linenumber">33</span>)
227 <BR>
228 <SPAN CLASS="font10bold">Usage : </SPAN>
229 <span class="font10bold" style="color: #FF0000"><a href="../phpHtmlLib/DIVtag.html">DIVtag</a></SPAN>&nbsp;
230 <span class="font10bold" style="color: #0000FF">div_build_spacergif_tag(
231 int $width, int $height)</SPAN>
232 <BR>
233 <BR>
234 <SPAN CLASS="font10bold">Description : </SPAN>
235 Render a div w/ a spacer give as its content.
236 <br />
237
238 <DL>
239 <DT class="font10bold">Function Parameters:</DT>
240 <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>
241 <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>
242
243 <DT class="font10bold">Function Info:</DT>
244 <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - object.</DD>
245 <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>author</b> - Walter A. Boring IV</DD>
246 </DL>
247 </DIV>
248 <BR>
249
250 <DIV CLASS="function">
251 <A NAME="functionhtml_div"><!-- --></A>
252 <SPAN CLASS="font12bold">html_div</SPAN> (line <span class="linenumber">69</span>)
253 <BR>
254 <SPAN CLASS="font10bold">Usage : </SPAN>
255 <span class="font10bold" style="color: #FF0000"><a href="../phpHtmlLib/DIVtag.html">DIVtag</a></SPAN>&nbsp;
256 <span class="font10bold" style="color: #0000FF">html_div(
257 [string $class = ""], mixed 1)</SPAN>
258 <BR>
259 <BR>
260 <SPAN CLASS="font10bold">Description : </SPAN>
261 build a new div tag with content
262 <br />
263
264 <DL>
265 <DT class="font10bold">Function Parameters:</DT>
266 <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">$class</SPAN></SPAN> - the css class for the div</DD>
267 <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">1</SPAN></SPAN> - any # of arguments that will live in the &lt;div&gt;&lt;/div&gt;</DD>
268
269 <DT class="font10bold">Function Info:</DT>
270 <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - object.</DD>
271 <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>author</b> - Walter A. Boring IV</DD>
272 </DL>
273 </DIV>
274 <BR>
275
276 <DIV CLASS="function">
277 <A NAME="functionhtml_div_center"><!-- --></A>
278 <SPAN CLASS="font12bold">html_div_center</SPAN> (line <span class="linenumber">49</span>)
279 <BR>
280 <SPAN CLASS="font10bold">Usage : </SPAN>
281 <span class="font10bold" style="color: #FF0000"><a href="../phpHtmlLib/DIVtag.html">DIVtag</a></SPAN>&nbsp;
282 <span class="font10bold" style="color: #0000FF">html_div_center(
283 [mixed 0 = - any # of arguments that will live in the <div></div>])</SPAN>
284 <BR>
285 <BR>
286 <SPAN CLASS="font10bold">Description : </SPAN>
287 build a new div tag with default attributes of "align=center"
288 <br />
289
290 <DL>
291 <DT class="font10bold">Function Parameters:</DT>
292 <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> - any # of arguments that will live in the &lt;div&gt;&lt;/div&gt;</DD>
293
294 <DT class="font10bold">Function Info:</DT>
295 <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - object.</DD>
296 <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>author</b> - Walter A. Boring IV</DD>
297 </DL>
298 </DIV>
299 <BR>
300
301 <DIV CLASS="function">
302 <A NAME="functionhtml_div_small"><!-- --></A>
303 <SPAN CLASS="font12bold">html_div_small</SPAN> (line <span class="linenumber">93</span>)
304 <BR>
305 <SPAN CLASS="font10bold">Usage : </SPAN>
306 <span class="font10bold" style="color: #FF0000"><a href="../phpHtmlLib/DIVtag.html">DIVtag</a></SPAN>&nbsp;
307 <span class="font10bold" style="color: #0000FF">html_div_small(
308 [mixed 0 = - any # of arguments that will live in the <div></div>])</SPAN>
309 <BR>
310 <BR>
311 <SPAN CLASS="font10bold">Description : </SPAN>
312 This builds the 1px font size DIVtag object, which can be used anywhere
313 <br />
314
315 <DL>
316 <DT class="font10bold">Function Parameters:</DT>
317 <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> - any # of arguments that will live in the &lt;div&gt;&lt;/div&gt;</DD>
318
319 <DT class="font10bold">Function Info:</DT>
320 <DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - object.</DD>
321 </DL>
322 </DIV>
323 <BR>
324 <br>
325 <div id="credit">
326 <hr>
327 Documention generated on Thu, 20 Feb 2003 16:22:40 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a>
328 </div>
329 </body>
330 </html>
331 </HTML>

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