1 |
jonen |
1.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:21:47 -0800' --> |
6 |
|
|
<TITLE></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 |
|
|
<h1 align="center">CHANGELOG</h1> |
11 |
|
|
<pre> |
12 |
|
|
+ major change |
13 |
|
|
++ Super duper major change. |
14 |
|
|
- minor change |
15 |
|
|
|
16 |
|
|
Version 2.2.0 - Walt A. Boring IV <waboring@buildabetterweb.com> |
17 |
|
|
- added attributes array as the last parameter to form_select. |
18 |
|
|
the attributes are for the select tag. |
19 |
|
|
+ Added the new RoundTitleTable widget. It looks like the |
20 |
|
|
NavTable widget, but can contain anything. |
21 |
|
|
- fixed a minor issue with Container::reset_content() It used to |
22 |
|
|
accept new content to automagically add. This has been re-added. |
23 |
|
|
Thanks to Freddy from Germany. :) |
24 |
|
|
- fixed another duplicated method in SQLDataListSource. arg. |
25 |
|
|
+ Added the CSSContainer widget |
26 |
|
|
+ changed all of the themed css building scripts to use the |
27 |
|
|
new CSSContainer widget. This is handy for site wide |
28 |
|
|
themeing. |
29 |
|
|
- Fixed a minor php notice in XMLTagClass::prepare_flags() |
30 |
|
|
- Added the ability to set the overall alignment for the |
31 |
|
|
DefaultGUIDataList object with set_align() |
32 |
|
|
- added some code to the ActiveTab to enable going to a |
33 |
|
|
specific tab when coming from another page |
34 |
|
|
- Added the ability to preselect a specific tab in the ActiveTab |
35 |
|
|
widget by passing the selected tab's name in the constructor |
36 |
|
|
- fixed the count issue with the ADODBSQLDataListSource |
37 |
|
|
- Made the urls in the DataList object W3C happy. & -> &amp; |
38 |
|
|
- fixed potential content issues with InfoTable. Now you can |
39 |
|
|
call add_row() with a TR or TD tag. |
40 |
|
|
|
41 |
|
|
++ MAJOR cleanup of all class member variables in ContainerClass, |
42 |
|
|
XMLTagClass and HTMLTagClass. I nuked ALL of the flag variables |
43 |
|
|
and made them all into 1 bitmask. 13 variables -> 1. This should |
44 |
|
|
keep the memory footprint to a minimum. There should be NO |
45 |
|
|
compatibility issues. |
46 |
|
|
|
47 |
|
|
++ Added the new Form Processing classes, for easily building complex |
48 |
|
|
forms and automagic validation, as well as automagic confirmation. |
49 |
|
|
|
50 |
|
|
Version 2.1.3 - Walt A. Boring IV <waboring@buildabetterweb.com> |
51 |
|
|
- fixed a duplicated method in ActiveTab. |
52 |
|
|
|
53 |
|
|
Version 2.1.2 - Walt A. Boring IV <waboring@buildabetterweb.com> |
54 |
|
|
- fixed a problem with html_map(), it was returning a LEGENDtag. |
55 |
|
|
- added $width to ActiveTab::add_tab() so you can change the width |
56 |
|
|
of the tab for long titles. |
57 |
|
|
- Fixed my mistake with the add/push_reference() methods. |
58 |
|
|
According to the php spec, you have to declare the parameter |
59 |
|
|
as a reference in the function declaration now, which is |
60 |
|
|
counter-intuitive (for us C folks) |
61 |
|
|
- Fixed a problem with the XMLDocumentClass' add_reference() method. |
62 |
|
|
|
63 |
|
|
Version 2.1.1 - Walt A. Boring IV <waboring@buildabetterweb.com> |
64 |
|
|
- Suren Fixed a bad bug in HTMLPageClass::add_head_content() |
65 |
|
|
|
66 |
|
|
|
67 |
|
|
Version 2.1.0 - Walt A. Boring IV <waboring@buildabetterweb.com> |
68 |
|
|
- Added the ActiveTab widget |
69 |
|
|
- fixed a problem with the DefaultGUIDataList object comparing |
70 |
|
|
the old style tag name of TD. all tags are now lowercase |
71 |
|
|
- changed the use of id to class to prevent W3C validation errors |
72 |
|
|
when using a widget multiple times on a page. |
73 |
|
|
- added form_active_radio() and form_active_checkbox() |
74 |
|
|
+ Did some major code cleanup in the _render_tag_* functions |
75 |
|
|
between the XMLTagClass and the HTMLTagClass classes. Just had |
76 |
|
|
some legacy code living in the HTMLTagClass methods that was |
77 |
|
|
now living in the XMLTagClass methods |
78 |
|
|
- changed DOCTYPEtag to an XMLTag child |
79 |
|
|
- cleaned up the constructor for the DOCTYPEtag and XMLtag |
80 |
|
|
+ Did some minor tweaks here and there in the base classes |
81 |
|
|
for performance improvements thanks to the adp profiler tool |
82 |
|
|
(http://pear.php.net/package-info.php?pacid=118) |
83 |
|
|
+ Added xml_doctype() as a helper function for creating a |
84 |
|
|
DOCTYPE tag |
85 |
|
|
+ added build_doctype() for the HTMLPageClass, so you can modify |
86 |
|
|
the DOCTYPE attributes for the document before render() is called. |
87 |
|
|
This is good for folks that want to tweak the link1 and link2 |
88 |
|
|
attributes to put mozilla/IE into standards compliant mode. |
89 |
|
|
SEE: |
90 |
|
|
http://mozilla.org/docs/web-developer/quirks/doctypes.html |
91 |
|
|
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/doctype.asp |
92 |
|
|
+ Did a major reworking of the XMLDocumentClass. Added a lot of features |
93 |
|
|
to make it easier to output a valid XML document. |
94 |
|
|
+ Added the WMLTagClass (extends XMLTagClass) as the base class for all WML tags. |
95 |
|
|
+ Added the WMLDocumentClass widget to build and render valid WML Documents. |
96 |
|
|
+ Added the SVGDocumentClass widget to build and render valid SVG Documents. |
97 |
|
|
+ Made the BaseWidget a child of the Container to eliminate redunancy in |
98 |
|
|
the push/add methods. |
99 |
|
|
- added XMLSTYLESHEETtag |
100 |
|
|
- updated HTMLPageClass::add_head_content() to allow n params of content |
101 |
|
|
+ Added the ADODBSQLDataListSource object, to support ADODB DB objects. |
102 |
|
|
- updated examples/widget6.php to show the same list of data from the DB |
103 |
|
|
coming from 2 different sources. One source is a PEAR DB object, the |
104 |
|
|
2nd source is from an ADODB DB Object. |
105 |
|
|
+ Added a CSVFILEDataListSource object, to read data from a CSV formatted file. |
106 |
|
|
- Added the CDATAtag, which is used for escaping a tag's contents in XML, so |
107 |
|
|
the xml parser reading the xml doesn't parse the data. |
108 |
|
|
+ added the full set of W3C's 1.0 recommendation of SVG (Scalable Vector |
109 |
|
|
Graphics) tags. |
110 |
|
|
+ Added the svg_utils.inc which contains the helper functions for constructing |
111 |
|
|
commonly used SVG tags with some help from Charlie Killian. |
112 |
|
|
|
113 |
|
|
|
114 |
|
|
|
115 |
|
|
|
116 |
|
|
Version 2.0.1 - Walt A. Boring IV <waboring@buildabetterweb.com> |
117 |
|
|
- Fixed a problem with html_small() |
118 |
|
|
- got the max_rows functionality working in the DataList widget |
119 |
|
|
|
120 |
|
|
|
121 |
|
|
Version 2.0.0 - Walt A. Boring IV <waboring@buildabetterweb.com> |
122 |
|
|
- Added the title attribute to both html_img_href() and |
123 |
|
|
html_img() |
124 |
|
|
- created a css dir to hold the css files |
125 |
|
|
- Added some new features to XMLDocumentClass, and brought the API |
126 |
|
|
up to 2.x standards (add() instead of push() ) |
127 |
|
|
- Added the new DataList object widget set. |
128 |
|
|
|
129 |
|
|
Version 2.0.0-RC1 - Walt A. Boring IV <waboring@buildabetterweb.com> |
130 |
|
|
MAJOR CHANGES/FEATURES |
131 |
|
|
- Completely rewrote the base HTMLTagClass. It is now |
132 |
|
|
based off of XMLTagClass which is a child of the |
133 |
|
|
Container class (formerly known as ContainerWidget ) |
134 |
|
|
|
135 |
|
|
- Changed all push_reference() calls to require a reference to |
136 |
|
|
be passed in. call time pass by reference is depricated, and |
137 |
|
|
is going away soon, so this had to get changed. |
138 |
|
|
|
139 |
|
|
- Removed 2nd and 3rd parameter declarations from the |
140 |
|
|
HTMLTagClass constructor. It now accepts any number |
141 |
|
|
of arguments. The first argument is always an array |
142 |
|
|
of the tag attributes. |
143 |
|
|
|
144 |
|
|
- Added a lot of missing html_* helper/wrapper functions. |
145 |
|
|
Some of which have special parameters for most commonly |
146 |
|
|
used features of the specific tag. |
147 |
|
|
|
148 |
|
|
- changed html_td() parameters. It now accepts |
149 |
|
|
function html_td($class="", $align=""). 3rd param to |
150 |
|
|
n is content for the tag. |
151 |
|
|
|
152 |
|
|
- added class as the first param to the html_div() function. |
153 |
|
|
|
154 |
|
|
- Added add() and add_reference() calls. These replace |
155 |
|
|
the old style push() and push_reference() calls. |
156 |
|
|
All push(), push_reference() and push_row() calls are |
157 |
|
|
depricated. |
158 |
|
|
|
159 |
|
|
- Completely changed the css functionality in the widgets. |
160 |
|
|
The widgets now contain the css required for the widget |
161 |
|
|
|
162 |
|
|
- HTMLPageClass automatically imports javascript and css |
163 |
|
|
from a widget, if it is based off of the BaseWidget class |
164 |
|
|
|
165 |
|
|
- Added the ability to tell the PageWidget and HTMLPageClass |
166 |
|
|
the style of indenting of the html output you want. |
167 |
|
|
Nice or left justified. |
168 |
|
|
|
169 |
|
|
|
170 |
|
|
MINOR CHANGES/FEATURES |
171 |
|
|
- changed all tag declarations to lower case. HTML 4.01 |
172 |
|
|
spec recommends using lower case tags. |
173 |
|
|
- Added set_class(), set_style() and set_id() for the HTMLTagClass. |
174 |
|
|
- Added 1st param to html_span() to be the class value. |
175 |
|
|
- added some new functionality to form_select() so it can |
176 |
|
|
handle multiple selection boxes. |
177 |
|
|
- Added a bunch of missing html/xhtml tags. |
178 |
|
|
- Added some new params to html_mailto() to support |
179 |
|
|
subject, body, cc |
180 |
|
|
- fixed newline problem with the META tag |
181 |
|
|
- added html_small() (Suren Markossian) |
182 |
|
|
- Added set_collapse() to let you collapse a tag and it's |
183 |
|
|
content on 1 line (no newlines or indenting) |
184 |
|
|
- Added html_* functions for all the supported Tag Classes. |
185 |
|
|
- removed the html_nobr(), since this really isn't a valid |
186 |
|
|
w3c tag. If you HAVE to use it...don't. It's DEPRICATED. |
187 |
|
|
- removed SPACERtag. its not a real tag. |
188 |
|
|
- cleaned out almost all the comments in the ALLTAGS.inc file |
189 |
|
|
for a small speed up. |
190 |
|
|
- Added font_utils.inc which holds various span/div tag |
191 |
|
|
objects with css classes for fonts, which are defeined in |
192 |
|
|
css/fonts.css |
193 |
|
|
- Added title parameter to the NavTable widget->add(), and made |
194 |
|
|
the target param last. |
195 |
|
|
- Moved the widget css files to /css |
196 |
|
|
|
197 |
|
|
|
198 |
|
|
|
199 |
|
|
|
200 |
|
|
Version 1.1.0 - Walt A. Boring IV <waboring@buildabetterweb.com> |
201 |
|
|
- Removed <> symbols from the $_tag variables since it is not a part |
202 |
|
|
of an HTML tag. This should reduce the usage of str_replace() in |
203 |
|
|
render() functions and make things a little bit faster. |
204 |
|
|
- Added html_div_small(), which can be used instead of the |
205 |
|
|
spacer.gif trick. |
206 |
|
|
- Fixed a bug with form_radio(). Thanks (Tim Moloney) |
207 |
|
|
- Added container(), a ContainerWidget helper function. |
208 |
|
|
- Fixed a w3c validation bug with the <HR> tag. Can't |
209 |
|
|
have a close tag for it. Thanks (James Dingwall) |
210 |
|
|
- Fixed a problem with XHTML_STRICT no rendering the |
211 |
|
|
<!doctype> attributes correctly. Thanks (Ricardo Pardini) |
212 |
|
|
- Added HTMLPageClass::get_html_attributes() and |
213 |
|
|
HTMLPageClass::set_html_attributes(), which lets the user |
214 |
|
|
of the class get/set the specific attributes to use |
215 |
|
|
for the <html> tag. |
216 |
|
|
|
217 |
|
|
NOTE: |
218 |
|
|
- Moved all files from .php to .inc. make sure you change |
219 |
|
|
you includes to reflect this change. |
220 |
|
|
|
221 |
|
|
|
222 |
|
|
Version 1.0.3 - Walt A. Boring IV <waboring@buildabetterweb.com> |
223 |
|
|
- Fixed a potential formatting issue w/ tags that don't |
224 |
|
|
automatically newline after the opentag. thanks to the |
225 |
|
|
Zend debugger. |
226 |
|
|
- Added misc_utils.php which holds new push_args() function. |
227 |
|
|
- set newline_after_opentag for OPTIONtag to FALSE by default. |
228 |
|
|
- Added target to NavTable::push(); |
229 |
|
|
- Changed InfoTable's css to a php file, so we can dynamically |
230 |
|
|
change the colors. |
231 |
|
|
- Made the default cellspacing 0 for InfoTable. |
232 |
|
|
- Fixed a small problem with NavTable widget. If there was no |
233 |
|
|
subtitle, it would render an empty table for the title, |
234 |
|
|
causing old Mozilla's to puke. |
235 |
|
|
- Changed the size of the TextNav text to 10pt instead of 8pt. |
236 |
|
|
- Added FRAMEtag, FRAMESETtag, NOFRAMEStag classes. |
237 |
|
|
- Added support in HTMLPageClass widget for framesets. |
238 |
|
|
- Added some frame* utility functions. |
239 |
|
|
- Combined all of the tag_classes files into 1 file to avoid |
240 |
|
|
lots of repetetive includes. |
241 |
|
|
- Added the new ContainerWidget, which is nothing but a |
242 |
|
|
wrapper object that contains tags/widgets, and knows how to |
243 |
|
|
render the content with the appropriate indentation level. |
244 |
|
|
- added the feature of automatically trying to collapse a |
245 |
|
|
tag and its content to 1 line. This happens if a tag |
246 |
|
|
only has 1 content entry and its a string w/o a \n in it. |
247 |
|
|
- Added new html_input() wrapper function which automatically |
248 |
|
|
will call htmlspecialchars() on the data for the value |
249 |
|
|
attribute. This helps prevent problems with |
250 |
|
|
<input value="foo""> -> <input value="foo&quot;"> |
251 |
|
|
- Fixed a problem with the form_select() helper function. |
252 |
|
|
The selected item wasn't working. |
253 |
|
|
- Added container(), which is a helper function to build |
254 |
|
|
a ContainerWidget and populate it. |
255 |
|
|
|
256 |
|
|
|
257 |
|
|
|
258 |
|
|
Version 1.0.2 - Walt A. Boring IV <waboring@buildabetterweb.com> |
259 |
|
|
- added 3rd parameter to the HTMLTagClass constructor. It |
260 |
|
|
accepts the $newline_after_opentag setting. This helps |
261 |
|
|
to keep the nice formatting on certain tags that you want |
262 |
|
|
to override the default behaviour. |
263 |
|
|
|
264 |
|
|
- fixed HTMLPageClass character encoding bug. It wasn't |
265 |
|
|
outputing a proper meta tag. |
266 |
|
|
- changed doctype for 4.0 to 4.01 |
267 |
|
|
- added target param for the html_a() helper function. |
268 |
|
|
- changed the default parameters to html_img_href, and |
269 |
|
|
html_img. We were forcing the width and height of an image |
270 |
|
|
to 1x1 if nothing was passed in. We now don't add them to |
271 |
|
|
the tags if they aren't set, which is the desired result. |
272 |
|
|
|
273 |
|
|
- Changed the FooterNav class to add the ability to show a |
274 |
|
|
"webmaster" mailto link. I also cleaned up the formatting |
275 |
|
|
of it a bit as well. |
276 |
|
|
|
277 |
|
|
- fixed source formatting issue with html_img_href() |
278 |
|
|
- changed html_a() to always force no newline after opentag |
279 |
|
|
- added $target to html_img_href() |
280 |
|
|
- added html_th() helper function. |
281 |
|
|
- Changed html_textarea. Added a new parameter of Value |
282 |
|
|
so you can prepopulate the text area field with data. |
283 |
|
|
- Fixed a bug with InfoTable's render() method. It wasn't |
284 |
|
|
properly handling the output_debug param. |
285 |
|
|
- Added TODO file. |
286 |
|
|
- Added a new feature to automatically htmlentities() for |
287 |
|
|
tag attribute values if we are rendering in XHTML_STRICT |
288 |
|
|
mode. This prevents the w3c validator from complaining |
289 |
|
|
about the & char. |
290 |
|
|
|
291 |
|
|
|
292 |
|
|
Version 1.0.1 - Walt A. Boring IV <waboring@buildabetterweb.com> |
293 |
|
|
- added html_div(), and html_td() |
294 |
|
|
- added html_div(), and html_td() |
295 |
|
|
- fixed w3c validation bug for the TextNav class. |
296 |
|
|
We can't put a background image in a td. It Has |
297 |
|
|
to be in a css. |
298 |
|
|
- Fixed a <TD colspan> issue for a blank entry in the |
299 |
|
|
NavTable class. |
300 |
|
|
- reorganized html_utils.php so the functions are in |
301 |
|
|
alphabetical order. Should be easier to find them |
302 |
|
|
as a reference. |
303 |
|
|
- added usemap attribute support to html_img() and |
304 |
|
|
html_img_href() |
305 |
|
|
- updated the online API docs (javadoc output) in the |
306 |
|
|
doc directory. |
307 |
|
|
|
308 |
|
|
|
309 |
|
|
</pre> |
310 |
|
|
<div id="credit"> |
311 |
|
|
<hr> |
312 |
|
|
Documention generated on Thu, 20 Feb 2003 16:21:47 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a> |
313 |
|
|
</div> |
314 |
|
|
</body> |
315 |
|
|
</html> |