1 |
<?xml version="1.0" encoding="iso-8859-1"?> |
2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
3 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
4 |
<head> |
5 |
<!-- template designed by Marco Von Ballmoos --> |
6 |
<title>Docs For Class CSSBuilder</title> |
7 |
<link rel="stylesheet" href="../media/stylesheet.css" /> |
8 |
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> |
9 |
</head> |
10 |
<body> |
11 |
<div class="page-body"> |
12 |
|
13 |
<h2 class="class-name">Class CSSBuilder</h2> |
14 |
|
15 |
<a name="sec-description"></a> |
16 |
<div class="info-box"> |
17 |
<div class="info-box-title">Description</div> |
18 |
<div class="nav-bar"> |
19 |
<span class="disabled">Description</span> | |
20 |
<a href="#sec-descendents">Descendents</a> |
21 |
| <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
22 |
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
23 |
|
24 |
</div> |
25 |
<div class="info-box-body"> |
26 |
<!-- ========== Info from phpDoc block ========= --> |
27 |
<p class="short-description">This class is a widget for constructing and rendering css. It exports API's for adding classes, ids and their attributes.</p> |
28 |
<p class="description"><p>It can render as either a stand alone foo.css type of file, with the appropriate httpd header, or as part of a <style> tag's content that lives as part of an html document.</p><p>This class lets you create classes in the format</p><p>name extends_list { property: value; }</p><p>ie. #foo div, span { font-family: arial, helvetica; font-size: 10pt; }</p></p> |
29 |
<ul class="tags"> |
30 |
<li><span class="field">author:</span> Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">waboring@buildabetterweb.com</a>></li> |
31 |
</ul> |
32 |
<p class="notes"> |
33 |
Located in <a class="field" href="_widgets_CSSBuilder_inc.html">/widgets/CSSBuilder.inc</a> (line <span class="field">41</span>) |
34 |
</p> |
35 |
|
36 |
|
37 |
<pre></pre> |
38 |
|
39 |
</div> |
40 |
</div> |
41 |
|
42 |
<a name="sec-descendents"></a> |
43 |
<div class="info-box"> |
44 |
<div class="info-box-title">Direct descendents</div> |
45 |
<div class="nav-bar"> |
46 |
<a href="#sec-description">Description</a> | |
47 |
<span class="disabled">Descendents</span> |
48 |
| <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
49 |
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
50 |
|
51 |
</div> |
52 |
<div class="info-box-body"> |
53 |
<table cellpadding="2" cellspacing="0" class="class-table"> |
54 |
<tr> |
55 |
<th class="class-table-header">Class</th> |
56 |
<th class="class-table-header">Description</th> |
57 |
</tr> |
58 |
<tr> |
59 |
<td style="padding-right: 2em"><a href="../phpHtmlLib/ActiveTabCSS.html">ActiveTabCSS</a></td> |
60 |
<td> |
61 |
The CSSBuilder object for the ActiveTab widget |
62 |
</td> |
63 |
</tr> |
64 |
<tr> |
65 |
<td style="padding-right: 2em"><a href="../phpHtmlLib/ButtonPanelCSS.html">ButtonPanelCSS</a></td> |
66 |
<td> |
67 |
This class defines the css used by the FooterNav Object. |
68 |
</td> |
69 |
</tr> |
70 |
<tr> |
71 |
<td style="padding-right: 2em"><a href="../phpHtmlLib/FooterNavCSS.html">FooterNavCSS</a></td> |
72 |
<td> |
73 |
This class defines the css used by the FooterNav Object. |
74 |
</td> |
75 |
</tr> |
76 |
<tr> |
77 |
<td style="padding-right: 2em"><a href="../phpHtmlLib/ImageThumbnailWidgetCSS.html">ImageThumbnailWidgetCSS</a></td> |
78 |
<td> |
79 |
This class defines the css used by the FooterNav Object. |
80 |
</td> |
81 |
</tr> |
82 |
<tr> |
83 |
<td style="padding-right: 2em"><a href="../phpHtmlLib/InfoTableCSS.html">InfoTableCSS</a></td> |
84 |
<td> |
85 |
This class defines the css used by the FooterNav Object. |
86 |
</td> |
87 |
</tr> |
88 |
<tr> |
89 |
<td style="padding-right: 2em"><a href="../phpHtmlLib/NavTableCSS.html">NavTableCSS</a></td> |
90 |
<td> |
91 |
This class defines the css used by the FooterNav Object. |
92 |
</td> |
93 |
</tr> |
94 |
<tr> |
95 |
<td style="padding-right: 2em"><a href="../phpHtmlLib/RoundTitleTableCSS.html">RoundTitleTableCSS</a></td> |
96 |
<td> |
97 |
This class defines the css used by the RoundTitleTable Object. |
98 |
</td> |
99 |
</tr> |
100 |
<tr> |
101 |
<td style="padding-right: 2em"><a href="../phpHtmlLib/TabListCSS.html">TabListCSS</a></td> |
102 |
<td> |
103 |
This class defines the css used by the FooterNav Object. |
104 |
</td> |
105 |
</tr> |
106 |
<tr> |
107 |
<td style="padding-right: 2em"><a href="../phpHtmlLib/TextCSSNavCSS.html">TextCSSNavCSS</a></td> |
108 |
<td> |
109 |
This class defines the css used by the FooterNav Object. |
110 |
</td> |
111 |
</tr> |
112 |
<tr> |
113 |
<td style="padding-right: 2em"><a href="../phpHtmlLib/TextNavCSS.html">TextNavCSS</a></td> |
114 |
<td> |
115 |
This class defines the css used by the TextNav Object. |
116 |
</td> |
117 |
</tr> |
118 |
<tr> |
119 |
<td style="padding-right: 2em"><a href="../phpHtmlLib/VerticalCSSNavTableCSS.html">VerticalCSSNavTableCSS</a></td> |
120 |
<td> |
121 |
This class defines the css used by the VerticalCSSNavTable Object. |
122 |
</td> |
123 |
</tr> |
124 |
<tr> |
125 |
<td style="padding-right: 2em"><a href="../phpHtmlLib/DefaultGUIDataListCSS.html">DefaultGUIDataListCSS</a></td> |
126 |
<td> |
127 |
This class defines the css used by the FooterNav Object. |
128 |
</td> |
129 |
</tr> |
130 |
</table> |
131 |
</div> |
132 |
</div> |
133 |
|
134 |
|
135 |
<a name="sec-var-summary"></a> |
136 |
<div class="info-box"> |
137 |
<div class="info-box-title">Variable Summary</span></div> |
138 |
<div class="nav-bar"> |
139 |
<a href="#sec-description">Description</a> | |
140 |
<a href="#sec-descendents">Descendents</a> | |
141 |
<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>) |
142 |
| |
143 |
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
144 |
|
145 |
</div> |
146 |
<div class="info-box-body"> |
147 |
<div class="var-summary"> |
148 |
<div class="var-title"> |
149 |
<span class="var-type">boolean</span> |
150 |
<a href="#$indent_flag" title="details" class="var-name">$indent_flag</a> |
151 |
</div> |
152 |
<div class="var-title"> |
153 |
<span class="var-type">array</span> |
154 |
<a href="#$_entries" title="details" class="var-name">$_entries</a> |
155 |
</div> |
156 |
<div class="var-title"> |
157 |
<span class="var-type">boolean</span> |
158 |
<a href="#$_header_flag" title="details" class="var-name">$_header_flag</a> |
159 |
</div> |
160 |
</div> |
161 |
</div> |
162 |
</div> |
163 |
|
164 |
<a name="sec-method-summary"></a> |
165 |
<div class="info-box"> |
166 |
<div class="info-box-title">Method Summary</span></div> |
167 |
<div class="nav-bar"> |
168 |
<a href="#sec-description">Description</a> | |
169 |
<a href="#sec-descendents">Descendents</a> | |
170 |
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
171 |
|
172 |
| |
173 |
<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) |
174 |
</div> |
175 |
<div class="info-box-body"> |
176 |
<div class="method-summary"> |
177 |
|
178 |
<div class="method-definition"> |
179 |
<span class="method-result">CSSBuilder</span> |
180 |
<a href="#CSSBuilder" title="details" class="method-name">CSSBuilder</a> |
181 |
([<span class="var-type">boolean</span> <span class="var-name">$header_flag</span> = <span class="var-default">FALSE</span>]) |
182 |
</div> |
183 |
|
184 |
<div class="method-definition"> |
185 |
<span class="method-result">void</span> |
186 |
<a href="#add_entry" title="details" class="method-name">add_entry</a> |
187 |
(<span class="var-type">string</span> <span class="var-name">$name</span>, <span class="var-type">string</span> <span class="var-name">$extends</span>, <span class="var-type">array</span> <span class="var-name">$attributes</span>) |
188 |
</div> |
189 |
|
190 |
<div class="method-definition"> |
191 |
<span class="method-result">string</span> |
192 |
<a href="#render" title="details" class="method-name">render</a> |
193 |
([<span class="var-type">int</span> <span class="var-name">$indent_level</span> = <span class="var-default">1</span>], <span class="var-type">int</span> <span class="var-name">$output_debug</span>) |
194 |
</div> |
195 |
|
196 |
<div class="method-definition"> |
197 |
<span class="method-result">void</span> |
198 |
<a href="#set_header_flag" title="details" class="method-name">set_header_flag</a> |
199 |
(<span class="var-type">boolean</span> <span class="var-name">$flag</span>) |
200 |
</div> |
201 |
|
202 |
<div class="method-definition"> |
203 |
<span class="method-result">void</span> |
204 |
<a href="#update_all_values" title="details" class="method-name">update_all_values</a> |
205 |
(<span class="var-type">string</span> <span class="var-name">$property</span>, <span class="var-type">string</span> <span class="var-name">$search</span>, <span class="var-type">string</span> <span class="var-name">$value</span>) |
206 |
</div> |
207 |
|
208 |
<div class="method-definition"> |
209 |
<span class="method-result">void</span> |
210 |
<a href="#update_properties" title="details" class="method-name">update_properties</a> |
211 |
(<span class="var-type">string</span> <span class="var-name">$name</span>, <span class="var-type">string</span> <span class="var-name">$extends</span>, <span class="var-type">array</span> <span class="var-name">$properties</span>) |
212 |
</div> |
213 |
|
214 |
<div class="method-definition"> |
215 |
<span class="method-result">void</span> |
216 |
<a href="#update_property" title="details" class="method-name">update_property</a> |
217 |
(<span class="var-type">string</span> <span class="var-name">$name</span>, <span class="var-type">string</span> <span class="var-name">$extends</span>, <span class="var-type">string</span> <span class="var-name">$property</span>, <span class="var-type">string</span> <span class="var-name">$value</span>) |
218 |
</div> |
219 |
|
220 |
<div class="method-definition"> |
221 |
<span class="method-result">void</span> |
222 |
<a href="#user_setup" title="details" class="method-name">user_setup</a> |
223 |
() |
224 |
</div> |
225 |
|
226 |
<div class="method-definition"> |
227 |
<span class="method-result">the</span> |
228 |
<a href="#_build_name" title="details" class="method-name">_build_name</a> |
229 |
(<span class="var-type">string</span> <span class="var-name">$class</span>) |
230 |
</div> |
231 |
|
232 |
<div class="method-definition"> |
233 |
<span class="method-result">string</span> |
234 |
<a href="#_build_properties" title="details" class="method-name">_build_properties</a> |
235 |
(<span class="var-type">array</span> <span class="var-name">$properties</span>, <span class="var-type">array</span> <span class="var-name">$indent_str</span>) |
236 |
</div> |
237 |
|
238 |
<div class="method-definition"> |
239 |
<span class="method-result">void</span> |
240 |
<a href="#_replace_value" title="details" class="method-name">_replace_value</a> |
241 |
(<span class="var-type">mixed</span> <span class="var-name">&$item</span>, <span class="var-type">mixed</span> <span class="var-name">$key</span>, <span class="var-type">mixed</span> <span class="var-name">$blah</span>) |
242 |
</div> |
243 |
</div> |
244 |
</div> |
245 |
</div> |
246 |
|
247 |
<a name="sec-vars"></a> |
248 |
<div class="info-box"> |
249 |
<div class="info-box-title">Variables</div> |
250 |
<div class="nav-bar"> |
251 |
<a href="#sec-description">Description</a> | |
252 |
<a href="#sec-descendents">Descendents</a> | |
253 |
<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) |
254 |
|
255 |
|
256 |
| |
257 |
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
258 |
|
259 |
</div> |
260 |
<div class="info-box-body"> |
261 |
<a name="var$indent_flag" id="$indent_flag"><!-- --></A> |
262 |
<div class="oddrow"> |
263 |
|
264 |
<div class="var-header"> |
265 |
<span class="var-title"> |
266 |
<span class="var-type">boolean</span> |
267 |
<span class="var-name">$indent_flag</span> |
268 |
= <span class="var-default"> TRUE</span> (line <span class="line-number">75</span>) |
269 |
</span> |
270 |
</div> |
271 |
|
272 |
<!-- ========== Info from phpDoc block ========= --> |
273 |
<p class="short-description">Flag for pretty (indented) output</p> |
274 |
<ul class="tags"> |
275 |
<li><span class="field">access:</span> public</li> |
276 |
</ul> |
277 |
|
278 |
|
279 |
|
280 |
|
281 |
|
282 |
</div> |
283 |
<a name="var$_entries" id="$_entries"><!-- --></A> |
284 |
<div class="evenrow"> |
285 |
|
286 |
<div class="var-header"> |
287 |
<span class="var-title"> |
288 |
<span class="var-type">array</span> |
289 |
<span class="var-name">$_entries</span> |
290 |
= <span class="var-default">array()</span> (line <span class="line-number">49</span>) |
291 |
</span> |
292 |
</div> |
293 |
|
294 |
<!-- ========== Info from phpDoc block ========= --> |
295 |
<p class="short-description">This holds the entries for the css</p> |
296 |
|
297 |
|
298 |
|
299 |
|
300 |
|
301 |
</div> |
302 |
<a name="var$_header_flag" id="$_header_flag"><!-- --></A> |
303 |
<div class="oddrow"> |
304 |
|
305 |
<div class="var-header"> |
306 |
<span class="var-title"> |
307 |
<span class="var-type">boolean</span> |
308 |
<span class="var-name">$_header_flag</span> |
309 |
= <span class="var-default"> FALSE</span> (line <span class="line-number">59</span>) |
310 |
</span> |
311 |
</div> |
312 |
|
313 |
<!-- ========== Info from phpDoc block ========= --> |
314 |
<p class="short-description">Flag to let us know if we should output a header content-type value header("Content-Type: text/css");</p> |
315 |
|
316 |
|
317 |
|
318 |
|
319 |
|
320 |
</div> |
321 |
|
322 |
|
323 |
</div> |
324 |
</div> |
325 |
|
326 |
<a name="sec-methods"></a> |
327 |
<div class="info-box"> |
328 |
<div class="info-box-title">Methods</div> |
329 |
<div class="nav-bar"> |
330 |
<a href="#sec-description">Description</a> | |
331 |
<a href="#sec-descendents">Descendents</a> | |
332 |
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
333 |
<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) |
334 |
|
335 |
</div> |
336 |
<div class="info-box-body"> |
337 |
<A NAME='method_detail'></A> |
338 |
<a name="methodCSSBuilder" id="CSSBuilder"><!-- --></a> |
339 |
<div class="evenrow"> |
340 |
|
341 |
<div class="method-header"> |
342 |
<span class="method-title">Constructor CSSBuilder</span> (line <span class="line-number">86</span>) |
343 |
</div> |
344 |
|
345 |
<!-- ========== Info from phpDoc block ========= --> |
346 |
<p class="short-description">The CSSBuilder constructor</p> |
347 |
|
348 |
<div class="method-signature"> |
349 |
<span class="method-result">CSSBuilder</span> |
350 |
<span class="method-name"> |
351 |
CSSBuilder |
352 |
</span> |
353 |
([<span class="var-type">boolean</span> <span class="var-name">$header_flag</span> = <span class="var-default">FALSE</span>]) |
354 |
</div> |
355 |
|
356 |
<ul class="parameters"> |
357 |
<li> |
358 |
<span class="var-type">boolean</span> |
359 |
<span class="var-name">$header_flag</span><span class="var-description">: - output the http header content type mime type or not.</span> </li> |
360 |
</ul> |
361 |
|
362 |
|
363 |
</div> |
364 |
<a name="methodadd_entry" id="add_entry"><!-- --></a> |
365 |
<div class="oddrow"> |
366 |
|
367 |
<div class="method-header"> |
368 |
<span class="method-title">add_entry</span> (line <span class="line-number">189</span>) |
369 |
</div> |
370 |
|
371 |
<!-- ========== Info from phpDoc block ========= --> |
372 |
<p class="short-description">This function adds a new class entry</p> |
373 |
|
374 |
<div class="method-signature"> |
375 |
<span class="method-result">void</span> |
376 |
<span class="method-name"> |
377 |
add_entry |
378 |
</span> |
379 |
(<span class="var-type">string</span> <span class="var-name">$name</span>, <span class="var-type">string</span> <span class="var-name">$extends</span>, <span class="var-type">array</span> <span class="var-name">$attributes</span>) |
380 |
</div> |
381 |
|
382 |
<ul class="parameters"> |
383 |
<li> |
384 |
<span class="var-type">string</span> |
385 |
<span class="var-name">$name</span><span class="var-description">: - class/id name</span> </li> |
386 |
<li> |
387 |
<span class="var-type">string</span> |
388 |
<span class="var-name">$extends</span><span class="var-description">: - the list of extends ie #foo div, a { } where "div, a" are the extends</span> </li> |
389 |
<li> |
390 |
<span class="var-type">array</span> |
391 |
<span class="var-name">$attributes</span><span class="var-description">: - the attributes</span> </li> |
392 |
</ul> |
393 |
|
394 |
|
395 |
</div> |
396 |
<a name="methodrender" id="render"><!-- --></a> |
397 |
<div class="evenrow"> |
398 |
|
399 |
<div class="method-header"> |
400 |
<span class="method-title">render</span> (line <span class="line-number">103</span>) |
401 |
</div> |
402 |
|
403 |
<!-- ========== Info from phpDoc block ========= --> |
404 |
<p class="short-description">The render method for compatibility with the rest of the phphtmllib api</p> |
405 |
<ul class="tags"> |
406 |
<li><span class="field">return:</span> the raw html output.</li> |
407 |
</ul> |
408 |
|
409 |
<div class="method-signature"> |
410 |
<span class="method-result">string</span> |
411 |
<span class="method-name"> |
412 |
render |
413 |
</span> |
414 |
([<span class="var-type">int</span> <span class="var-name">$indent_level</span> = <span class="var-default">1</span>], <span class="var-type">int</span> <span class="var-name">$output_debug</span>) |
415 |
</div> |
416 |
|
417 |
<ul class="parameters"> |
418 |
<li> |
419 |
<span class="var-type">int</span> |
420 |
<span class="var-name">$indent_level</span><span class="var-description">: - the indentation level for the container.</span> </li> |
421 |
<li> |
422 |
<span class="var-type">int</span> |
423 |
<span class="var-name">$output_debug</span><span class="var-description">: - the output debug flag to maintain compatibility w/ the API.</span> </li> |
424 |
</ul> |
425 |
|
426 |
|
427 |
</div> |
428 |
<a name="methodset_header_flag" id="set_header_flag"><!-- --></a> |
429 |
<div class="oddrow"> |
430 |
|
431 |
<div class="method-header"> |
432 |
<span class="method-title">set_header_flag</span> (line <span class="line-number">127</span>) |
433 |
</div> |
434 |
|
435 |
<!-- ========== Info from phpDoc block ========= --> |
436 |
<p class="short-description">This is used to set/update the header flag.</p> |
437 |
|
438 |
<div class="method-signature"> |
439 |
<span class="method-result">void</span> |
440 |
<span class="method-name"> |
441 |
set_header_flag |
442 |
</span> |
443 |
(<span class="var-type">boolean</span> <span class="var-name">$flag</span>) |
444 |
</div> |
445 |
|
446 |
<ul class="parameters"> |
447 |
<li> |
448 |
<span class="var-type">boolean</span> |
449 |
<span class="var-name">$flag</span> </li> |
450 |
</ul> |
451 |
|
452 |
|
453 |
</div> |
454 |
<a name="methodupdate_all_values" id="update_all_values"><!-- --></a> |
455 |
<div class="evenrow"> |
456 |
|
457 |
<div class="method-header"> |
458 |
<span class="method-title">update_all_values</span> (line <span class="line-number">244</span>) |
459 |
</div> |
460 |
|
461 |
<!-- ========== Info from phpDoc block ========= --> |
462 |
<p class="short-description">This function is a macro for walking the entire</p> |
463 |
<p class="description"><p>list of classes, looking for particular property in each class. It then tries to match the current value of that property and then replaces the value with the new value.</p><p>NOTE: this is a way of templating themes. you create the original css w/ a value of something like _DARK_COLOR_ and use this function to replace all occurrences with #dbdbdb</p></p> |
464 |
|
465 |
<div class="method-signature"> |
466 |
<span class="method-result">void</span> |
467 |
<span class="method-name"> |
468 |
update_all_values |
469 |
</span> |
470 |
(<span class="var-type">string</span> <span class="var-name">$property</span>, <span class="var-type">string</span> <span class="var-name">$search</span>, <span class="var-type">string</span> <span class="var-name">$value</span>) |
471 |
</div> |
472 |
|
473 |
<ul class="parameters"> |
474 |
<li> |
475 |
<span class="var-type">string</span> |
476 |
<span class="var-name">$property</span><span class="var-description">: - the property that the search lives in</span> </li> |
477 |
<li> |
478 |
<span class="var-type">string</span> |
479 |
<span class="var-name">$search</span><span class="var-description">: - the original value to find</span> </li> |
480 |
<li> |
481 |
<span class="var-type">string</span> |
482 |
<span class="var-name">$value</span><span class="var-description">: - the new value</span> </li> |
483 |
</ul> |
484 |
|
485 |
|
486 |
</div> |
487 |
<a name="methodupdate_properties" id="update_properties"><!-- --></a> |
488 |
<div class="oddrow"> |
489 |
|
490 |
<div class="method-header"> |
491 |
<span class="method-title">update_properties</span> (line <span class="line-number">219</span>) |
492 |
</div> |
493 |
|
494 |
<!-- ========== Info from phpDoc block ========= --> |
495 |
<p class="short-description">This function updates a css property value for a specific class/id</p> |
496 |
|
497 |
<div class="method-signature"> |
498 |
<span class="method-result">void</span> |
499 |
<span class="method-name"> |
500 |
update_properties |
501 |
</span> |
502 |
(<span class="var-type">string</span> <span class="var-name">$name</span>, <span class="var-type">string</span> <span class="var-name">$extends</span>, <span class="var-type">array</span> <span class="var-name">$properties</span>) |
503 |
</div> |
504 |
|
505 |
<ul class="parameters"> |
506 |
<li> |
507 |
<span class="var-type">string</span> |
508 |
<span class="var-name">$name</span><span class="var-description">: - the class/id name</span> </li> |
509 |
<li> |
510 |
<span class="var-type">string</span> |
511 |
<span class="var-name">$extends</span><span class="var-description">: - the list of extends ie #foo div, a { } where "div, a" are the extends</span> </li> |
512 |
<li> |
513 |
<span class="var-type">array</span> |
514 |
<span class="var-name">$properties</span><span class="var-description">: - the array of array(property => value ) pairs.</span> </li> |
515 |
</ul> |
516 |
|
517 |
|
518 |
</div> |
519 |
<a name="methodupdate_property" id="update_property"><!-- --></a> |
520 |
<div class="evenrow"> |
521 |
|
522 |
<div class="method-header"> |
523 |
<span class="method-title">update_property</span> (line <span class="line-number">205</span>) |
524 |
</div> |
525 |
|
526 |
<!-- ========== Info from phpDoc block ========= --> |
527 |
<p class="short-description">This function updates a css property value for a specific class/id</p> |
528 |
|
529 |
<div class="method-signature"> |
530 |
<span class="method-result">void</span> |
531 |
<span class="method-name"> |
532 |
update_property |
533 |
</span> |
534 |
(<span class="var-type">string</span> <span class="var-name">$name</span>, <span class="var-type">string</span> <span class="var-name">$extends</span>, <span class="var-type">string</span> <span class="var-name">$property</span>, <span class="var-type">string</span> <span class="var-name">$value</span>) |
535 |
</div> |
536 |
|
537 |
<ul class="parameters"> |
538 |
<li> |
539 |
<span class="var-type">string</span> |
540 |
<span class="var-name">$name</span><span class="var-description">: - the class/id name</span> </li> |
541 |
<li> |
542 |
<span class="var-type">string</span> |
543 |
<span class="var-name">$extends</span><span class="var-description">: - the list of extends ie #foo div, a { } where "div, a" are the extends</span> </li> |
544 |
<li> |
545 |
<span class="var-type">string</span> |
546 |
<span class="var-name">$property</span><span class="var-description">: - the property to adjust</span> </li> |
547 |
<li> |
548 |
<span class="var-type">string</span> |
549 |
<span class="var-name">$value</span><span class="var-description">: - the value for the property</span> </li> |
550 |
</ul> |
551 |
|
552 |
|
553 |
</div> |
554 |
<a name="methoduser_setup" id="user_setup"><!-- --></a> |
555 |
<div class="oddrow"> |
556 |
|
557 |
<div class="method-header"> |
558 |
<span class="method-title">user_setup</span> (line <span class="line-number">136</span>) |
559 |
</div> |
560 |
|
561 |
<!-- ========== Info from phpDoc block ========= --> |
562 |
<p class="short-description">Call the child class' setup function</p> |
563 |
<p class="description"><p>to build the actual css classes and their attributes</p></p> |
564 |
|
565 |
<div class="method-signature"> |
566 |
<span class="method-result">void</span> |
567 |
<span class="method-name"> |
568 |
user_setup |
569 |
</span> |
570 |
() |
571 |
</div> |
572 |
|
573 |
|
574 |
|
575 |
<hr class="separator" /> |
576 |
<div class="notes">Redefined in descendants as:</div> |
577 |
<ul class="redefinitions"> |
578 |
<li> |
579 |
<a href="../phpHtmlLib/ActiveTabCSS.html#methoduser_setup">ActiveTabCSS::user_setup()</a> |
580 |
</li> |
581 |
<li> |
582 |
<a href="../phpHtmlLib/ButtonPanelCSS.html#methoduser_setup">ButtonPanelCSS::user_setup()</a> |
583 |
</li> |
584 |
<li> |
585 |
<a href="../phpHtmlLib/FooterNavCSS.html#methoduser_setup">FooterNavCSS::user_setup()</a> |
586 |
</li> |
587 |
<li> |
588 |
<a href="../phpHtmlLib/ImageThumbnailWidgetCSS.html#methoduser_setup">ImageThumbnailWidgetCSS::user_setup()</a> |
589 |
</li> |
590 |
<li> |
591 |
<a href="../phpHtmlLib/InfoTableCSS.html#methoduser_setup">InfoTableCSS::user_setup()</a> |
592 |
</li> |
593 |
<li> |
594 |
<a href="../phpHtmlLib/NavTableCSS.html#methoduser_setup">NavTableCSS::user_setup()</a> |
595 |
</li> |
596 |
<li> |
597 |
<a href="../phpHtmlLib/RoundTitleTableCSS.html#methoduser_setup">RoundTitleTableCSS::user_setup()</a> |
598 |
</li> |
599 |
<li> |
600 |
<a href="../phpHtmlLib/TabListCSS.html#methoduser_setup">TabListCSS::user_setup()</a> |
601 |
</li> |
602 |
<li> |
603 |
<a href="../phpHtmlLib/TextCSSNavCSS.html#methoduser_setup">TextCSSNavCSS::user_setup()</a> |
604 |
</li> |
605 |
<li> |
606 |
<a href="../phpHtmlLib/TextNavCSS.html#methoduser_setup">TextNavCSS::user_setup()</a> |
607 |
</li> |
608 |
<li> |
609 |
<a href="../phpHtmlLib/VerticalCSSNavTableCSS.html#methoduser_setup">VerticalCSSNavTableCSS::user_setup()</a> |
610 |
</li> |
611 |
<li> |
612 |
<a href="../phpHtmlLib/DefaultGUIDataListCSS.html#methoduser_setup">DefaultGUIDataListCSS::user_setup()</a> |
613 |
</li> |
614 |
</ul> |
615 |
</div> |
616 |
<a name="method_build_name" id="_build_name"><!-- --></a> |
617 |
<div class="evenrow"> |
618 |
|
619 |
<div class="method-header"> |
620 |
<span class="method-title">_build_name</span> (line <span class="line-number">154</span>) |
621 |
</div> |
622 |
|
623 |
<!-- ========== Info from phpDoc block ========= --> |
624 |
<p class="short-description">This function is used to construct the css name declaration string.</p> |
625 |
<p class="description"><p>ie #foo div,span {</p></p> |
626 |
<ul class="tags"> |
627 |
<li><span class="field">return:</span> css name declaration</li> |
628 |
</ul> |
629 |
|
630 |
<div class="method-signature"> |
631 |
<span class="method-result">the</span> |
632 |
<span class="method-name"> |
633 |
_build_name |
634 |
</span> |
635 |
(<span class="var-type">string</span> <span class="var-name">$class</span>) |
636 |
</div> |
637 |
|
638 |
<ul class="parameters"> |
639 |
<li> |
640 |
<span class="var-type">string</span> |
641 |
<span class="var-name">$class</span><span class="var-description">: the name-extends string</span> </li> |
642 |
</ul> |
643 |
|
644 |
|
645 |
</div> |
646 |
<a name="method_build_properties" id="_build_properties"><!-- --></a> |
647 |
<div class="oddrow"> |
648 |
|
649 |
<div class="method-header"> |
650 |
<span class="method-title">_build_properties</span> (line <span class="line-number">169</span>) |
651 |
</div> |
652 |
|
653 |
<!-- ========== Info from phpDoc block ========= --> |
654 |
<p class="short-description">This function is used to construct the property: value strings for the class</p> |
655 |
|
656 |
<div class="method-signature"> |
657 |
<span class="method-result">string</span> |
658 |
<span class="method-name"> |
659 |
_build_properties |
660 |
</span> |
661 |
(<span class="var-type">array</span> <span class="var-name">$properties</span>, <span class="var-type">array</span> <span class="var-name">$indent_str</span>) |
662 |
</div> |
663 |
|
664 |
<ul class="parameters"> |
665 |
<li> |
666 |
<span class="var-type">array</span> |
667 |
<span class="var-name">$properties</span><span class="var-description">: - the properties</span> </li> |
668 |
<li> |
669 |
<span class="var-type">array</span> |
670 |
<span class="var-name">$indent_str</span><span class="var-description">: - the indent string.</span> </li> |
671 |
</ul> |
672 |
|
673 |
|
674 |
</div> |
675 |
<a name="method_replace_value" id="_replace_value"><!-- --></a> |
676 |
<div class="evenrow"> |
677 |
|
678 |
<div class="method-header"> |
679 |
<span class="method-title">_replace_value</span> (line <span class="line-number">258</span>) |
680 |
</div> |
681 |
|
682 |
<!-- ========== Info from phpDoc block ========= --> |
683 |
<p class="short-description">This function does the main work for update_all_values</p> |
684 |
|
685 |
<div class="method-signature"> |
686 |
<span class="method-result">void</span> |
687 |
<span class="method-name"> |
688 |
_replace_value |
689 |
</span> |
690 |
(<span class="var-type">mixed</span> <span class="var-name">&$item</span>, <span class="var-type">mixed</span> <span class="var-name">$key</span>, <span class="var-type">mixed</span> <span class="var-name">$blah</span>) |
691 |
</div> |
692 |
|
693 |
|
694 |
|
695 |
</div> |
696 |
|
697 |
</div> |
698 |
</div> |
699 |
|
700 |
|
701 |
<p class="notes" id="credit"> |
702 |
Documentation generated on Thu, 1 Apr 2004 09:38:08 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC2</a> |
703 |
</p> |
704 |
</div></body> |
705 |
</html> |