| 1 |
<?xml version="1.0" encoding="ISO-8859-1" ?> |
|---|
| 2 |
<!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> |
|---|
| 3 |
<package version="1.0" packagerversion="1.4.0a12"> |
|---|
| 4 |
<name>patForms</name> |
|---|
| 5 |
<summary>Powerful form management package.</summary> |
|---|
| 6 |
<description>patForms is a powerful package that helps you creating an validating forms. It is not limited to HTML forms. |
|---|
| 7 |
</description> |
|---|
| 8 |
<maintainers> |
|---|
| 9 |
<maintainer> |
|---|
| 10 |
<user>argh</user> |
|---|
| 11 |
<name>Sebastian Mordziol</name> |
|---|
| 12 |
<email>argh@php-tools.net</email> |
|---|
| 13 |
<role>lead</role> |
|---|
| 14 |
</maintainer> |
|---|
| 15 |
<maintainer> |
|---|
| 16 |
<user>schst</user> |
|---|
| 17 |
<name>Stephan Schmidt</name> |
|---|
| 18 |
<email>schst@php-tools.net</email> |
|---|
| 19 |
<role>lead</role> |
|---|
| 20 |
</maintainer> |
|---|
| 21 |
<maintainer> |
|---|
| 22 |
<user>gerd</user> |
|---|
| 23 |
<name>Gerd Schaufelberger</name> |
|---|
| 24 |
<email>gerd@php-tools.net</email> |
|---|
| 25 |
<role>developer</role> |
|---|
| 26 |
</maintainer> |
|---|
| 27 |
<maintainer> |
|---|
| 28 |
<user>luckec</user> |
|---|
| 29 |
<name>Carsten Lucke</name> |
|---|
| 30 |
<email>carsten@tool-garage.de</email> |
|---|
| 31 |
<role>helper</role> |
|---|
| 32 |
</maintainer> |
|---|
| 33 |
<maintainer> |
|---|
| 34 |
<user>sfuchs</user> |
|---|
| 35 |
<name>Sven Fuchs</name> |
|---|
| 36 |
<email>svenfuchs@artweb-design.de</email> |
|---|
| 37 |
<role>lead</role> |
|---|
| 38 |
</maintainer> |
|---|
| 39 |
</maintainers> |
|---|
| 40 |
<release> |
|---|
| 41 |
<version>0.9.0b1</version> |
|---|
| 42 |
<date>2005-08-14</date> |
|---|
| 43 |
<license>LGPL</license> |
|---|
| 44 |
<state>beta</state> |
|---|
| 45 |
<notes>First release candidate for 0.9.0. |
|---|
| 46 |
|
|---|
| 47 |
Changes since v0.9.0a2: |
|---|
| 48 |
* patForms main: |
|---|
| 49 |
- Added "namespace" support to patForms and patForms_Elements (closing ticket #129) (Sven Fuchs) |
|---|
| 50 |
- Added a class patForms_Definition: base class for xml based form definitions (Sven Fuchs) |
|---|
| 51 |
- Removed patForms_FormatChecker and replaced it with rules (closing ticket #156) (schst) |
|---|
| 52 |
- Added an event onValidate to patForms and registered storages to listen to this event. This allows patForms_Storage containers to do their own validation, e.g. for unique keys. (This closes bug #130) (Sven Fuchs) |
|---|
| 53 |
- Cleaned up event-management and added new onRender() event (schst) |
|---|
| 54 |
- Avoid multiple autoValidate checks in the same request (schst) |
|---|
| 55 |
- Changed datasources to receive the element (closing ticket #151) (schst) |
|---|
| 56 |
- Added datasource for country-selection (schst, argh) |
|---|
| 57 |
- Added createDatasource() method to patForms (schst) |
|---|
| 58 |
- patErrors triggered by event listeners will now bubble up to the user (schst) |
|---|
| 59 |
- Check, whether custom locale file exists prior to loading it (schst) |
|---|
| 60 |
- Fixed several PHP 4.4.0 notices (schst) |
|---|
| 61 |
- Added the getRenderer() method (argh) |
|---|
| 62 |
|
|---|
| 63 |
* Elements |
|---|
| 64 |
- Fixed bug #87: Passwords will not be sent back to the browser if the "resendpasswd" attribute is not set to "yes" (schst) |
|---|
| 65 |
- Fixed bug #148: Enum/RadioGroup/Set/Combobox Elements now accept retrieving values from a datasource additionally to the already defined value set (argh) |
|---|
| 66 |
- Fixed bug #147: Enum/RadioGroup/Set/Combobox Elements now support setting a 'disabled' attribute for values (argh) |
|---|
| 67 |
- Fixed bug #150: Date day element displays 32 days |
|---|
| 68 |
- Fixed bug #172: modified behavior of the setValue for the set element so that you may pass either a string for a single selected value, or an array with a list of selected entries (argh) |
|---|
| 69 |
- Fixed bug #149: Non-required date elements are validated against min and max dates (argh) |
|---|
| 70 |
- Fixed bug #179: Add errormanagment to patForms_Element::serialize*() (argh) |
|---|
| 71 |
- Fixed bug #174: New method removeRule() is used to remove the previously added rule when usign the format attribute (schst) |
|---|
| 72 |
- Fixed bug #171: Element_Date accepts invalid dates (argh) |
|---|
| 73 |
- Fixed bug #182: Switch element does not check for the correct value (argh) |
|---|
| 74 |
|
|---|
| 75 |
* Rules |
|---|
| 76 |
- Added several patForms_Rules to match Propel Validator classes and enable client side validation for these. New rules are: MaxLength, MinLength, MaxValue, MinValue, Match, NotMatch, ValidValues (Sven Fuchs) |
|---|
| 77 |
- Added new rule: AnyRequired (schst) |
|---|
| 78 |
- Fixed bug #173: translated missing french strings in patForms_Rule_URL as well as other rules (argh) |
|---|
| 79 |
- Added new rule that prohibits updating entries in a storage (Frank Kleine) |
|---|
| 80 |
- Added new rule that prohibits adding entries in a storage (schst) |
|---|
| 81 |
- Fixed bug #187: Storage* rules need french translations (argh) |
|---|
| 82 |
|
|---|
| 83 |
* Storages |
|---|
| 84 |
- Allowed the use of the DB storage container to only add entries (schst) |
|---|
| 85 |
- Added new feature to the DB storage container to provide additional values for new entries (schst) |
|---|
| 86 |
- Fixed the DB storage container to work with SQLite (schst) |
|---|
| 87 |
- Fixed bug in storage containers that did not provide the onValidate() method (schst) |
|---|
| 88 |
- Added new "Mail" storage (schst) |
|---|
| 89 |
- Fixed bug #140 (missing check for database error) (schst) |
|---|
| 90 |
- Fixed bug #177 (minor bugs in CSV storage) (schst) |
|---|
| 91 |
|
|---|
| 92 |
* Clientside features |
|---|
| 93 |
- Changed scripts collection mechanism in patForms, patForms_Element and patForms_Rule for clientside validation. (This closes bug #133) (Sven Fuchs) |
|---|
| 94 |
|
|---|
| 95 |
* Propel Integration |
|---|
| 96 |
- Added a class patForms_Definition_Propel: definition that either populates itself from a Propel ObjectPeer class and writes itself to an xml file OR reads an existing xml file and populates itself from it, when this file exists (Sven Fuchs) |
|---|
| 97 |
- Added a class patForms_Creator_Definition: creates a patForm instance and populates properties, elements and rules from a patForms_Definition instance (Sven Fuchs) |
|---|
| 98 |
- Added a class patForms_Datasource_Propel: used to populate data to form elements for foreign key/related tables from a Propel ObjectPeer. (Sven Fuchs) |
|---|
| 99 |
- Added a class patForms_Storage_Propel: implements the patForms_Storage interface to integrate with a Propel object peer. (Sven Fuchs) |
|---|
| 100 |
|
|---|
| 101 |
* Renderer |
|---|
| 102 |
- Changed patForms_Renderer_Array to not include patForms_Datasource objects in the results array (This closes bug #131) (Sven Fuchs) |
|---|
| 103 |
- Added new patTemplate Renderer (schst) |
|---|
| 104 |
|
|---|
| 105 |
* Parser |
|---|
| 106 |
- Edited patForms_Parser "sourcefile could not be read"-message to include some additional useful debugging information (argh) |
|---|
| 107 |
- Added filename to patForms_Parser error message (schst) |
|---|
| 108 |
- patForms_Parser_HTML now extracts attributes of the <form/> tag (schst) |
|---|
| 109 |
- Allow more than one element with the same name (schst) |
|---|
| 110 |
- Fixed bug with spaces in attribute values (schst) |
|---|
| 111 |
- Added value-namespace support via the namespace attribute of the <patForms:Form/> tag (schst) |
|---|
| 112 |
- Added event support via attributes of the <patForms:Form/> tag (schst) |
|---|
| 113 |
</notes> |
|---|
| 114 |
<deps> |
|---|
| 115 |
<dep type="pkg" rel="has" optional="no">patError</dep> |
|---|
| 116 |
<dep type="php" rel="ge" version="4.3.0" optional="no"/> |
|---|
| 117 |
<dep type="pkg" rel="has" optional="yes">DB</dep> |
|---|
| 118 |
<dep type="pkg" rel="has" optional="yes">Mail</dep> |
|---|
| 119 |
<dep type="pkg" rel="has" optional="yes">Net_DNS</dep> |
|---|
| 120 |
<dep type="pkg" rel="has" optional="yes">Net_SMTP</dep> |
|---|
| 121 |
<dep type="pkg" rel="has" optional="yes">HTML_Flexy</dep> |
|---|
| 122 |
</deps> |
|---|
| 123 |
<filelist> |
|---|
| 124 |
<dir name="/" baseinstalldir="pat"> |
|---|
| 125 |
<dir name="docs"> |
|---|
| 126 |
<dir name="Parser"> |
|---|
| 127 |
<dir name="HomesiteExtension"> |
|---|
| 128 |
<dir name="Outline Profiles"> |
|---|
| 129 |
<file role="doc" name="patForms Tags.vtm"/> |
|---|
| 130 |
</dir> <!-- /docs/Parser/HomesiteExtension/Outline Profiles --> |
|---|
| 131 |
<dir name="TagDefs"> |
|---|
| 132 |
<dir name="patForms"> |
|---|
| 133 |
<file role="doc" name="Attribute.vtm"/> |
|---|
| 134 |
<file role="doc" name="Datasource.vtm"/> |
|---|
| 135 |
<file role="doc" name="Enum.vtm"/> |
|---|
| 136 |
<file role="doc" name="Number.vtm"/> |
|---|
| 137 |
<file role="doc" name="Option.vtm"/> |
|---|
| 138 |
<file role="doc" name="patForms.inc"/> |
|---|
| 139 |
<file role="doc" name="Set.vtm"/> |
|---|
| 140 |
<file role="doc" name="String.vtm"/> |
|---|
| 141 |
<file role="doc" name="Switch.vtm"/> |
|---|
| 142 |
</dir> <!-- /docs/Parser/HomesiteExtension/TagDefs/patForms --> |
|---|
| 143 |
</dir> <!-- /docs/Parser/HomesiteExtension/TagDefs --> |
|---|
| 144 |
<file role="doc" name="install.txt"/> |
|---|
| 145 |
</dir> <!-- /docs/Parser/HomesiteExtension --> |
|---|
| 146 |
</dir> <!-- /docs/Parser --> |
|---|
| 147 |
<file role="doc" name="filters.txt"/> |
|---|
| 148 |
<file role="doc" name="notes.txt"/> |
|---|
| 149 |
<file role="doc" name="roadmap.txt"/> |
|---|
| 150 |
<file role="doc" name="rules.txt"/> |
|---|
| 151 |
</dir> <!-- /docs --> |
|---|
| 152 |
<dir name="examples"> |
|---|
| 153 |
<dir name="cache"> |
|---|
| 154 |
<file role="doc" name="readme.txt"/> |
|---|
| 155 |
</dir> <!-- /examples/cache --> |
|---|
| 156 |
<dir name="data"> |
|---|
| 157 |
<file role="doc" name="users.csv"/> |
|---|
| 158 |
</dir> <!-- /examples/data --> |
|---|
| 159 |
<dir name="fileupload"> |
|---|
| 160 |
<file role="doc" name="readme.txt"/> |
|---|
| 161 |
</dir> <!-- /examples/fileupload --> |
|---|
| 162 |
<dir name="locales"> |
|---|
| 163 |
<file role="doc" name="gungan.ini"/> |
|---|
| 164 |
</dir> <!-- /examples/locales --> |
|---|
| 165 |
<dir name="patExampleGen"> |
|---|
| 166 |
<file role="doc" name="config.php"/> |
|---|
| 167 |
<file role="doc" name="customFunctions.php"/> |
|---|
| 168 |
<file role="doc" name="fileUsage.php"/> |
|---|
| 169 |
<file role="doc" name="patExampleGen.php"/> |
|---|
| 170 |
<file role="doc" name="prepend.php"/> |
|---|
| 171 |
<file role="doc" name="sections.php"/> |
|---|
| 172 |
<file role="doc" name="sections_api.php"/> |
|---|
| 173 |
<file role="doc" name="sections_clientside.php"/> |
|---|
| 174 |
<file role="doc" name="sections_creator.php"/> |
|---|
| 175 |
<file role="doc" name="sections_datasource.php"/> |
|---|
| 176 |
<file role="doc" name="sections_element.php"/> |
|---|
| 177 |
<file role="doc" name="sections_event.php"/> |
|---|
| 178 |
<file role="doc" name="sections_filter.php"/> |
|---|
| 179 |
<file role="doc" name="sections_observer.php"/> |
|---|
| 180 |
<file role="doc" name="sections_parser.php"/> |
|---|
| 181 |
<file role="doc" name="sections_renderer.php"/> |
|---|
| 182 |
<file role="doc" name="sections_rule.php"/> |
|---|
| 183 |
<file role="doc" name="sections_storage.php"/> |
|---|
| 184 |
<file role="doc" name="styles.css"/> |
|---|
| 185 |
<file role="doc" name="xmlSource.php"/> |
|---|
| 186 |
</dir> <!-- /examples/patExampleGen --> |
|---|
| 187 |
<dir name="propel"> |
|---|
| 188 |
<dir name="bookstore"> |
|---|
| 189 |
<dir name="map"> |
|---|
| 190 |
<file role="doc" name="AuthorMapBuilder.php"/> |
|---|
| 191 |
<file role="doc" name="BookMapBuilder.php"/> |
|---|
| 192 |
<file role="doc" name="PublisherMapBuilder.php"/> |
|---|
| 193 |
</dir> <!-- /examples/propel/bookstore/map --> |
|---|
| 194 |
<dir name="om"> |
|---|
| 195 |
<file role="doc" name="BaseAuthor.php"/> |
|---|
| 196 |
<file role="doc" name="BaseAuthorPeer.php"/> |
|---|
| 197 |
<file role="doc" name="BaseBook.php"/> |
|---|
| 198 |
<file role="doc" name="BaseBookPeer.php"/> |
|---|
| 199 |
<file role="doc" name="BasePublisher.php"/> |
|---|
| 200 |
<file role="doc" name="BasePublisherPeer.php"/> |
|---|
| 201 |
</dir> <!-- /examples/propel/bookstore/om --> |
|---|
| 202 |
<file role="doc" name="Author.php"/> |
|---|
| 203 |
<file role="doc" name="AuthorPeer.php"/> |
|---|
| 204 |
<file role="doc" name="Book.php"/> |
|---|
| 205 |
<file role="doc" name="BookPeer.php"/> |
|---|
| 206 |
<file role="doc" name="Publisher.php"/> |
|---|
| 207 |
</dir> <!-- /examples/propel/bookstore --> |
|---|
| 208 |
<dir name="conf"> |
|---|
| 209 |
<file role="doc" name="bookstore-conf.php"/> |
|---|
| 210 |
</dir> <!-- /examples/propel/conf --> |
|---|
| 211 |
<dir name="db"> |
|---|
| 212 |
<file role="doc" name="bookstore.db"/> |
|---|
| 213 |
</dir> <!-- /examples/propel/db --> |
|---|
| 214 |
</dir> <!-- /examples/propel --> |
|---|
| 215 |
<dir name="templates"> |
|---|
| 216 |
<file role="doc" name="example_parser_attributes.fhtml"/> |
|---|
| 217 |
<file role="doc" name="example_parser_attributes.html"/> |
|---|
| 218 |
<file role="doc" name="example_parser_datanamespace.fhtml"/> |
|---|
| 219 |
<file role="doc" name="example_parser_datanamespace.html"/> |
|---|
| 220 |
<file role="doc" name="example_parser_datasource.fhtml"/> |
|---|
| 221 |
<file role="doc" name="example_parser_datasource.html"/> |
|---|
| 222 |
<file role="doc" name="example_parser_events.fhtml"/> |
|---|
| 223 |
<file role="doc" name="example_parser_events.html"/> |
|---|
| 224 |
<file role="doc" name="example_parser_html-generated.fhtml"/> |
|---|
| 225 |
<file role="doc" name="example_parser_html-output.html"/> |
|---|
| 226 |
<file role="doc" name="example_parser_html-source.html"/> |
|---|
| 227 |
<file role="doc" name="example_parser_intro.fhtml"/> |
|---|
| 228 |
<file role="doc" name="example_parser_ns_auto.fhtml"/> |
|---|
| 229 |
<file role="doc" name="example_parser_ns_auto.html"/> |
|---|
| 230 |
<file role="doc" name="example_parser_ns_handler.fhtml"/> |
|---|
| 231 |
<file role="doc" name="example_parser_options.fhtml"/> |
|---|
| 232 |
<file role="doc" name="example_parser_options.html"/> |
|---|
| 233 |
<file role="doc" name="example_parser_pattemplate.ftmpl"/> |
|---|
| 234 |
<file role="doc" name="example_parser_pattemplate.tmpl"/> |
|---|
| 235 |
<file role="doc" name="example_parser_pattemplate_2forms.ftmpl"/> |
|---|
| 236 |
<file role="doc" name="example_parser_pattemplate_2forms.tmpl"/> |
|---|
| 237 |
<file role="doc" name="example_parser_pattemplate_group.ftmpl"/> |
|---|
| 238 |
<file role="doc" name="example_parser_pattemplate_group.tmpl"/> |
|---|
| 239 |
<file role="doc" name="example_parser_placeholder.fhtml"/> |
|---|
| 240 |
<file role="doc" name="example_parser_placeholder.html"/> |
|---|
| 241 |
<file role="doc" name="example_parser_radiogroups.fhtml"/> |
|---|
| 242 |
<file role="doc" name="example_parser_radiogroups.html"/> |
|---|
| 243 |
<file role="doc" name="example_parser_simple.fhtml"/> |
|---|
| 244 |
<file role="doc" name="example_parser_simple.html"/> |
|---|
| 245 |
<file role="doc" name="example_renderer_pattemplate.tmpl"/> |
|---|
| 246 |
<file role="doc" name="example_renderer_pattemplate_form.tmpl"/> |
|---|
| 247 |
<file role="doc" name="example_renderer_pattemplate_repeat.tmpl"/> |
|---|
| 248 |
<file role="doc" name="example_renderer_string.html"/> |
|---|
| 249 |
<file role="doc" name="example_renderer_string_attributes.html"/> |
|---|
| 250 |
<file role="doc" name="example_renderer_string_errors.html"/> |
|---|
| 251 |
<file role="doc" name="example_renderer_string_placeholders.html"/> |
|---|
| 252 |
</dir> <!-- /examples/templates --> |
|---|
| 253 |
<file role="doc" name="custom.css"/> |
|---|
| 254 |
<file role="doc" name="example_api_autovalidate.php"/> |
|---|
| 255 |
<file role="doc" name="example_api_default_attributes.php"/> |
|---|
| 256 |
<file role="doc" name="example_api_factory_detailed.php"/> |
|---|
| 257 |
<file role="doc" name="example_api_factory_simple.php"/> |
|---|
| 258 |
<file role="doc" name="example_api_locale.php"/> |
|---|
| 259 |
<file role="doc" name="example_api_locale_custom.php"/> |
|---|
| 260 |
<file role="doc" name="example_api_replace_element.php"/> |
|---|
| 261 |
<file role="doc" name="example_api_setvalues.php"/> |
|---|
| 262 |
<file role="doc" name="example_api_toxml.php"/> |
|---|
| 263 |
<file role="doc" name="example_api_toxml_ns.php"/> |
|---|
| 264 |
<file role="doc" name="example_clientside_date.php"/> |
|---|
| 265 |
<file role="doc" name="example_clientside_javascript.php"/> |
|---|
| 266 |
<file role="doc" name="example_creator_autosave.php"/> |
|---|
| 267 |
<file role="doc" name="example_creator_db.php"/> |
|---|
| 268 |
<file role="doc" name="example_creator_db_mysql.php"/> |
|---|
| 269 |
<file role="doc" name="example_datasrc_countries.php"/> |
|---|
| 270 |
<file role="doc" name="example_datasrc_function.php"/> |
|---|
| 271 |
<file role="doc" name="example_datasrc_object.php"/> |
|---|
| 272 |
<file role="doc" name="example_element_combobox.php"/> |
|---|
| 273 |
<file role="doc" name="example_element_date.php"/> |
|---|
| 274 |
<file role="doc" name="example_element_enum.php"/> |
|---|
| 275 |
<file role="doc" name="example_element_file.php"/> |
|---|
| 276 |
<file role="doc" name="example_element_group.php"/> |
|---|
| 277 |
<file role="doc" name="example_element_hidden.php"/> |
|---|
| 278 |
<file role="doc" name="example_element_number.php"/> |
|---|
| 279 |
<file role="doc" name="example_element_pool.php"/> |
|---|
| 280 |
<file role="doc" name="example_element_pool_multi.php"/> |
|---|
| 281 |
<file role="doc" name="example_element_radio.php"/> |
|---|
| 282 |
<file role="doc" name="example_element_radiogroup.php"/> |
|---|
| 283 |
<file role="doc" name="example_element_set.php"/> |
|---|
| 284 |
<file role="doc" name="example_element_string.php"/> |
|---|
| 285 |
<file role="doc" name="example_element_switch.php"/> |
|---|
| 286 |
<file role="doc" name="example_element_text.php"/> |
|---|
| 287 |
<file role="doc" name="example_event_combined.php"/> |
|---|
| 288 |
<file role="doc" name="example_event_object.php"/> |
|---|
| 289 |
<file role="doc" name="example_event_onerror.php"/> |
|---|
| 290 |
<file role="doc" name="example_event_onsubmit.php"/> |
|---|
| 291 |
<file role="doc" name="example_event_onsuccess.php"/> |
|---|
| 292 |
<file role="doc" name="example_filter_auto.php"/> |
|---|
| 293 |
<file role="doc" name="example_filter_function.php"/> |
|---|
| 294 |
<file role="doc" name="example_filter_multiplier.php"/> |
|---|
| 295 |
<file role="doc" name="example_filter_trim.php"/> |
|---|
| 296 |
<file role="doc" name="example_filter_xss.php"/> |
|---|
| 297 |
<file role="doc" name="example_observer_attach_element.php"/> |
|---|
| 298 |
<file role="doc" name="example_observer_attach_elements.php"/> |
|---|
| 299 |
<file role="doc" name="example_observer_attach_form.php"/> |
|---|
| 300 |
<file role="doc" name="example_observer_combining.php"/> |
|---|
| 301 |
<file role="doc" name="example_observer_error_attributes.php"/> |
|---|
| 302 |
<file role="doc" name="example_observer_readonly.php"/> |
|---|
| 303 |
<file role="doc" name="example_parser_attributes.php"/> |
|---|
| 304 |
<file role="doc" name="example_parser_datanamespace.php"/> |
|---|
| 305 |
<file role="doc" name="example_parser_datasource.php"/> |
|---|
| 306 |
<file role="doc" name="example_parser_events.php"/> |
|---|
| 307 |
<file role="doc" name="example_parser_html.php"/> |
|---|
| 308 |
<file role="doc" name="example_parser_intro.php"/> |
|---|
| 309 |
<file role="doc" name="example_parser_ns_auto.php"/> |
|---|
| 310 |
<file role="doc" name="example_parser_ns_handler.php"/> |
|---|
| 311 |
<file role="doc" name="example_parser_options.php"/> |
|---|
| 312 |
<file role="doc" name="example_parser_pattemplate.php"/> |
|---|
| 313 |
<file role="doc" name="example_parser_pattemplate_2forms.php"/> |
|---|
| 314 |
<file role="doc" name="example_parser_pattemplate_group.php"/> |
|---|
| 315 |
<file role="doc" name="example_parser_placeholder.php"/> |
|---|
| 316 |
<file role="doc" name="example_parser_radiogroups.php"/> |
|---|
| 317 |
<file role="doc" name="example_parser_simple.php"/> |
|---|
| 318 |
<file role="doc" name="example_renderer_array.php"/> |
|---|
| 319 |
<file role="doc" name="example_renderer_pattemplate.php"/> |
|---|
| 320 |
<file role="doc" name="example_renderer_pattemplate_form.php"/> |
|---|
| 321 |
<file role="doc" name="example_renderer_pattemplate_repeat.php"/> |
|---|
| 322 |
<file role="doc" name="example_renderer_radiogroup.php"/> |
|---|
| 323 |
<file role="doc" name="example_renderer_string.php"/> |
|---|
| 324 |
<file role="doc" name="example_renderer_string_attributes.php"/> |
|---|
| 325 |
<file role="doc" name="example_renderer_string_errors.php"/> |
|---|
| 326 |
<file role="doc" name="example_renderer_string_placeholders.php"/> |
|---|
| 327 |
<file role="doc" name="example_rule_after.php"/> |
|---|
| 328 |
<file role="doc" name="example_rule_before.php"/> |
|---|
| 329 |
<file role="doc" name="example_rule_conditionalenum.php"/> |
|---|
| 330 |
<file role="doc" name="example_rule_element.php"/> |
|---|
| 331 |
<file role="doc" name="example_rule_format.php"/> |
|---|
| 332 |
<file role="doc" name="example_rule_remove.php"/> |
|---|
| 333 |
<file role="doc" name="example_storage_csv.php"/> |
|---|
| 334 |
<file role="doc" name="example_storage_db.php"/> |
|---|
| 335 |
<file role="doc" name="example_storage_db.sql"/> |
|---|
| 336 |
<file role="doc" name="example_storage_mail.php"/> |
|---|
| 337 |
<file role="doc" name="example_storage_propel.php"/> |
|---|
| 338 |
<file role="doc" name="index.php"/> |
|---|
| 339 |
<file role="doc" name="setup_examples.php"/> |
|---|
| 340 |
</dir> <!-- /examples --> |
|---|
| 341 |
<dir name="patForms"> |
|---|
| 342 |
<dir name="Creator"> |
|---|
| 343 |
<dir name="DB"> |
|---|
| 344 |
<file role="php" name="MySQL.php"/> |
|---|
| 345 |
</dir> <!-- /patForms/Creator/DB --> |
|---|
| 346 |
<file role="php" name="DB.php"/> |
|---|
| 347 |
<file role="php" name="Definition.php"/> |
|---|
| 348 |
</dir> <!-- /patForms/Creator --> |
|---|
| 349 |
<dir name="Datasource"> |
|---|
| 350 |
<file role="php" name="Countries.php"/> |
|---|
| 351 |
<file role="php" name="Propel.php"/> |
|---|
| 352 |
</dir> <!-- /patForms/Datasource --> |
|---|
| 353 |
<dir name="Definition"> |
|---|
| 354 |
<file role="php" name="Propel.php"/> |
|---|
| 355 |
</dir> <!-- /patForms/Definition --> |
|---|
| 356 |
<dir name="Element"> |
|---|
| 357 |
<dir name="Date"> |
|---|
| 358 |
<dir name="Element"> |
|---|
| 359 |
<file role="php" name="Day.php"/> |
|---|
| 360 |
<file role="php" name="Hour.php"/> |
|---|
| 361 |
<file role="php" name="Meridiem.php"/> |
|---|
| 362 |
<file role="php" name="Minute.php"/> |
|---|
| 363 |
<file role="php" name="Month.php"/> |
|---|
| 364 |
<file role="php" name="Second.php"/> |
|---|
| 365 |
<file role="php" name="Year.php"/> |
|---|
| 366 |
</dir> <!-- /patForms/Element/Date/Element --> |
|---|
| 367 |
<file role="php" name="Element.php"/> |
|---|
| 368 |
</dir> <!-- /patForms/Element/Date --> |
|---|
| 369 |
<file role="php" name="Combobox.php"/> |
|---|
| 370 |
<file role="php" name="Date.php"/> |
|---|
| 371 |
<file role="php" name="Enum.php"/> |
|---|
| 372 |
<file role="php" name="File.php"/> |
|---|
| 373 |
<file role="php" name="Group.php"/> |
|---|
| 374 |
<file role="php" name="Hidden.php"/> |
|---|
| 375 |
<file role="php" name="Number.php"/> |
|---|
| 376 |
<file role="php" name="Pool.php"/> |
|---|
| 377 |
<file role="php" name="Radio.php"/> |
|---|
| 378 |
<file role="php" name="RadioGroup.php"/> |
|---|
| 379 |
<file role="php" name="Set.php"/> |
|---|
| 380 |
<file role="php" name="String.php"/> |
|---|
| 381 |
<file role="php" name="Switch.php"/> |
|---|
| 382 |
<file role="php" name="Text.php"/> |
|---|
| 383 |
</dir> <!-- /patForms/Element --> |
|---|
| 384 |
<dir name="Filter"> |
|---|
| 385 |
<file role="php" name="Function.php"/> |
|---|
| 386 |
<file role="php" name="Multiplier.php"/> |
|---|
| 387 |
<file role="php" name="Strtolower.php"/> |
|---|
| 388 |
<file role="php" name="Trim.php"/> |
|---|
| 389 |
<file role="php" name="XSS.php"/> |
|---|
| 390 |
</dir> <!-- /patForms/Filter --> |
|---|
| 391 |
<dir name="Observer"> |
|---|
| 392 |
<file role="php" name="ErrorAttributes.php"/> |
|---|
| 393 |
<file role="php" name="ReadonlyFinished.php"/> |
|---|
| 394 |
</dir> <!-- /patForms/Observer --> |
|---|
| 395 |
<dir name="Parser"> |
|---|
| 396 |
<file role="php" name="Html.php"/> |
|---|
| 397 |
<file role="php" name="patTemplateRenderer.php"/> |
|---|
| 398 |
<file role="php" name="SimpleRenderer.php"/> |
|---|
| 399 |
</dir> <!-- /patForms/Parser --> |
|---|
| 400 |
<dir name="Renderer"> |
|---|
| 401 |
<file role="php" name="Array.php"/> |
|---|
| 402 |
<file role="php" name="Flexy.php"/> |
|---|
| 403 |
<file role="php" name="patTemplate.php"/> |
|---|
| 404 |
<file role="php" name="PhpTal.php"/> |
|---|
| 405 |
<file role="php" name="Savant3.php"/> |
|---|
| 406 |
<file role="php" name="Smarty.php"/> |
|---|
| 407 |
<file role="php" name="String.php"/> |
|---|
| 408 |
</dir> <!-- /patForms/Renderer --> |
|---|
| 409 |
<dir name="Rule"> |
|---|
| 410 |
<file role="php" name="AnyRequired.php"/> |
|---|
| 411 |
<file role="php" name="ConditionalEnum.php"/> |
|---|
| 412 |
<file role="php" name="ConditionalRequired.php"/> |
|---|
| 413 |
<file role="php" name="Email.php"/> |
|---|
| 414 |
<file role="php" name="Enum.php"/> |
|---|
| 415 |
<file role="php" name="GermanBLZ.php"/> |
|---|
| 416 |
<file role="php" name="GermanZipCode.php"/> |
|---|
| 417 |
<file role="php" name="Match.php"/> |
|---|
| 418 |
<file role="php" name="MaxLength.php"/> |
|---|
| 419 |
<file role="php" name="MaxValue.php"/> |
|---|
| 420 |
<file role="php" name="MinLength.php"/> |
|---|
| 421 |
<file role="php" name="MinValue.php"/> |
|---|
| 422 |
<file role="php" name="NotMatch.php"/> |
|---|
| 423 |
<file role="php" name="Retype.php"/> |
|---|
| 424 |
<file role="php" name="StorageProhibitAdd.php"/> |
|---|
| 425 |
<file role="php" name="StorageProhibitUpdate.php"/> |
|---|
| 426 |
<file role="php" name="URL.php"/> |
|---|
| 427 |
<file role="php" name="ValidValues.php"/> |
|---|
| 428 |
</dir> <!-- /patForms/Rule --> |
|---|
| 429 |
<dir name="Scripts"> |
|---|
| 430 |
<dir name="Html"> |
|---|
| 431 |
<dir name="Element"> |
|---|
| 432 |
<file role="data" name="Enum.js"/> |
|---|
| 433 |
<file role="data" name="String.js"/> |
|---|
| 434 |
</dir> <!-- /patForms/Scripts/Html/Element --> |
|---|
| 435 |
<dir name="Rule"> |
|---|
| 436 |
<file role="data" name="ConditionalEnum.js"/> |
|---|
| 437 |
<file role="data" name="Match.js"/> |
|---|
| 438 |
<file role="data" name="MaxLength.js"/> |
|---|
| 439 |
<file role="data" name="MaxValue.js"/> |
|---|
| 440 |
<file role="data" name="MinLength.js"/> |
|---|
| 441 |
<file role="data" name="MinValue.js"/> |
|---|
| 442 |
<file role="data" name="NotMatch.js"/> |
|---|
| 443 |
<file role="data" name="ValidValues.js"/> |
|---|
| 444 |
</dir> <!-- /patForms/Scripts/Html/Rule --> |
|---|
| 445 |
</dir> <!-- /patForms/Scripts/Html --> |
|---|
| 446 |
</dir> <!-- /patForms/Scripts --> |
|---|
| 447 |
<dir name="Storage"> |
|---|
| 448 |
<file role="php" name="CSV.php"/> |
|---|
| 449 |
<file role="php" name="DB.php"/> |
|---|
| 450 |
<file role="php" name="Mail.php"/> |
|---|
| 451 |
<file role="php" name="Propel.php"/> |
|---|
| 452 |
</dir> <!-- /patForms/Storage --> |
|---|
| 453 |
<file role="php" name="Collection.php"/> |
|---|
| 454 |
<file role="php" name="Creator.php"/> |
|---|
| 455 |
<file role="php" name="Definition.php"/> |
|---|
| 456 |
<file role="php" name="Element.php"/> |
|---|
| 457 |
<file role="php" name="Filter.php"/> |
|---|
| 458 |
<file role="php" name="Observer.php"/> |
|---|
| 459 |
<file role="php" name="Parser.php"/> |
|---|
| 460 |
<file role="php" name="Renderer.php"/> |
|---|
| 461 |
<file role="php" name="Rule.php"/> |
|---|
| 462 |
<file role="php" name="Storage.php"/> |
|---|
| 463 |
</dir> <!-- /patForms --> |
|---|
| 464 |
<dir name="tests"> |
|---|
| 465 |
<dir name="element"> |
|---|
| 466 |
<dir name="pages"> |
|---|
| 467 |
<file role="test" name="test_namespace_combined_1_form.php"/> |
|---|
| 468 |
<file role="test" name="test_namespace_combined_2_forms.php"/> |
|---|
| 469 |
<file role="test" name="test_namespace_element_combobox.php"/> |
|---|
| 470 |
<file role="test" name="test_namespace_element_date.php"/> |
|---|
| 471 |
<file role="test" name="test_namespace_element_enum.php"/> |
|---|
| 472 |
<file role="test" name="test_namespace_element_file.php"/> |
|---|
| 473 |
<file role="test" name="test_namespace_element_group.php"/> |
|---|
| 474 |
<file role="test" name="test_namespace_element_hidden.php"/> |
|---|
| 475 |
<file role="test" name="test_namespace_element_number.php"/> |
|---|
| 476 |
<file role="test" name="test_namespace_element_pool.php"/> |
|---|
| 477 |
<file role="test" name="test_namespace_element_pool_multi.php"/> |
|---|
| 478 |
<file role="test" name="test_namespace_element_radio.php"/> |
|---|
| 479 |
<file role="test" name="test_namespace_element_radiogroup.php"/> |
|---|
| 480 |
<file role="test" name="test_namespace_element_set.php"/> |
|---|
| 481 |
<file role="test" name="test_namespace_element_string.php"/> |
|---|
| 482 |
<file role="test" name="test_namespace_element_switch.php"/> |
|---|
| 483 |
<file role="test" name="test_namespace_element_text.php"/> |
|---|
| 484 |
</dir> <!-- /tests/element/pages --> |
|---|
| 485 |
<file role="test" name="Base.php"/> |
|---|
| 486 |
<file role="test" name="Basic.php"/> |
|---|
| 487 |
<file role="test" name="Convert.php"/> |
|---|
| 488 |
<file role="test" name="Namespaces.php"/> |
|---|
| 489 |
<file role="test" name="Set.php"/> |
|---|
| 490 |
</dir> <!-- /tests/element --> |
|---|
| 491 |
<dir name="Renderer"> |
|---|
| 492 |
<dir name="res"> |
|---|
| 493 |
<file role="test" name="test.flexy.form.tpl"/> |
|---|
| 494 |
<file role="test" name="test.flexy.simple.tpl"/> |
|---|
| 495 |
<file role="test" name="test.phpTal.form.tpl"/> |
|---|
| 496 |
<file role="test" name="test.phpTal.simple.tpl"/> |
|---|
| 497 |
<file role="test" name="test.savant.form.tpl"/> |
|---|
| 498 |
<file role="test" name="test.savant.simple.tpl"/> |
|---|
| 499 |
<file role="test" name="test.smarty.form.tpl"/> |
|---|
| 500 |
<file role="test" name="test.smarty.simple.tpl"/> |
|---|
| 501 |
</dir> <!-- /tests/Renderer/res --> |
|---|
| 502 |
<file role="test" name="FlexyTest.php"/> |
|---|
| 503 |
<file role="test" name="PhpTalTest.php"/> |
|---|
| 504 |
<file role="test" name="Savant3Test.php"/> |
|---|
| 505 |
<file role="test" name="SmartyTest.php"/> |
|---|
| 506 |
</dir> <!-- /tests/Renderer --> |
|---|
| 507 |
<file role="test" name="benchmark_concat.php"/> |
|---|
| 508 |
<file role="test" name="benchmark_str_replace.php"/> |
|---|
| 509 |
<file role="test" name="readme.txt"/> |
|---|
| 510 |
<file role="test" name="runtests.php"/> |
|---|
| 511 |
</dir> <!-- /tests --> |
|---|
| 512 |
<file role="php" name="patForms.php"/> |
|---|
| 513 |
</dir> <!-- / --> |
|---|
| 514 |
</filelist> |
|---|
| 515 |
</release> |
|---|
| 516 |
<changelog> |
|---|
| 517 |
<release> |
|---|
| 518 |
<version>0.9.0a2</version> |
|---|
| 519 |
<date>2005-05-05</date> |
|---|
| 520 |
<license>LGPL</license> |
|---|
| 521 |
<state>alpha</state> |
|---|
| 522 |
<notes>Changes since 0.9.0a1: |
|---|
| 523 |
- disabled script option by default (schst) |
|---|
| 524 |
- added new Filter: Function (schst) |
|---|
| 525 |
- added new method Element::applySimpleFilter() as requested by Helgi (schst) |
|---|
| 526 |
- moved client side scripts to separate files (schst) |
|---|
| 527 |
- createElementId() is now a static method (argh) |
|---|
| 528 |
- patForms_Renderer_Array: added the elementName to the resulting array (argh) |
|---|
| 529 |
- added new element: Combobox (schst) |
|---|
| 530 |
- fixed bug in setValues() (schst) |
|---|
| 531 |
- fixed bug in Trim filter (Bjrn Kraus) |
|---|
| 532 |
</notes> |
|---|
| 533 |
</release> |
|---|
| 534 |
<release> |
|---|
| 535 |
<version>0.9.0b1</version> |
|---|
| 536 |
<date>2005-08-14</date> |
|---|
| 537 |
<license>LGPL</license> |
|---|
| 538 |
<state>beta</state> |
|---|
| 539 |
<notes>First release candidate for 0.9.0. |
|---|
| 540 |
|
|---|
| 541 |
Changes since v0.9.0a2: |
|---|
| 542 |
* patForms main: |
|---|
| 543 |
- Added "namespace" support to patForms and patForms_Elements (closing ticket #129) (Sven Fuchs) |
|---|
| 544 |
- Added a class patForms_Definition: base class for xml based form definitions (Sven Fuchs) |
|---|
| 545 |
- Removed patForms_FormatChecker and replaced it with rules (closing ticket #156) (schst) |
|---|
| 546 |
- Added an event onValidate to patForms and registered storages to listen to this event. This allows patForms_Storage containers to do their own validation, e.g. for unique keys. (This closes bug #130) (Sven Fuchs) |
|---|
| 547 |
- Cleaned up event-management and added new onRender() event (schst) |
|---|
| 548 |
- Avoid multiple autoValidate checks in the same request (schst) |
|---|
| 549 |
- Changed datasources to receive the element (closing ticket #151) (schst) |
|---|
| 550 |
- Added datasource for country-selection (schst, argh) |
|---|
| 551 |
- Added createDatasource() method to patForms (schst) |
|---|
| 552 |
- patErrors triggered by event listeners will now bubble up to the user (schst) |
|---|
| 553 |
- Check, whether custom locale file exists prior to loading it (schst) |
|---|
| 554 |
- Fixed several PHP 4.4.0 notices (schst) |
|---|
| 555 |
- Added the getRenderer() method (argh) |
|---|
| 556 |
|
|---|
| 557 |
* Elements |
|---|
| 558 |
- Fixed bug #87: Passwords will not be sent back to the browser if the "resendpasswd" attribute is not set to "yes" (schst) |
|---|
| 559 |
- Fixed bug #148: Enum/RadioGroup/Set/Combobox Elements now accept retrieving values from a datasource additionally to the already defined value set (argh) |
|---|
| 560 |
- Fixed bug #147: Enum/RadioGroup/Set/Combobox Elements now support setting a 'disabled' attribute for values (argh) |
|---|
| 561 |
- Fixed bug #150: Date day element displays 32 days |
|---|
| 562 |
- Fixed bug #172: modified behavior of the setValue for the set element so that you may pass either a string for a single selected value, or an array with a list of selected entries (argh) |
|---|
| 563 |
- Fixed bug #149: Non-required date elements are validated against min and max dates (argh) |
|---|
| 564 |
- Fixed bug #179: Add errormanagment to patForms_Element::serialize*() (argh) |
|---|
| 565 |
- Fixed bug #174: New method removeRule() is used to remove the previously added rule when usign the format attribute (schst) |
|---|
| 566 |
- Fixed bug #171: Element_Date accepts invalid dates (argh) |
|---|
| 567 |
- Fixed bug #182: Switch element does not check for the correct value (argh) |
|---|
| 568 |
|
|---|
| 569 |
* Rules |
|---|
| 570 |
- Added several patForms_Rules to match Propel Validator classes and enable client side validation for these. New rules are: MaxLength, MinLength, MaxValue, MinValue, Match, NotMatch, ValidValues (Sven Fuchs) |
|---|
| 571 |
- Added new rule: AnyRequired (schst) |
|---|
| 572 |
- Fixed bug #173: translated missing french strings in patForms_Rule_URL as well as other rules (argh) |
|---|
| 573 |
- Added new rule that prohibits updating entries in a storage (Frank Kleine) |
|---|
| 574 |
- Added new rule that prohibits adding entries in a storage (schst) |
|---|
| 575 |
- Fixed bug #187: Storage* rules need french translations (argh) |
|---|
| 576 |
|
|---|
| 577 |
* Storages |
|---|
| 578 |
- Allowed the use of the DB storage container to only add entries (schst) |
|---|
| 579 |
- Added new feature to the DB storage container to provide additional values for new entries (schst) |
|---|
| 580 |
- Fixed the DB storage container to work with SQLite (schst) |
|---|
| 581 |
- Fixed bug in storage containers that did not provide the onValidate() method (schst) |
|---|
| 582 |
- Added new "Mail" storage (schst) |
|---|
| 583 |
- Fixed bug #140 (missing check for database error) (schst) |
|---|
| 584 |
- Fixed bug #177 (minor bugs in CSV storage) (schst) |
|---|
| 585 |
|
|---|
| 586 |
* Clientside features |
|---|
| 587 |
- Changed scripts collection mechanism in patForms, patForms_Element and patForms_Rule for clientside validation. (This closes bug #133) (Sven Fuchs) |
|---|
| 588 |
|
|---|
| 589 |
* Propel Integration |
|---|
| 590 |
- Added a class patForms_Definition_Propel: definition that either populates itself from a Propel ObjectPeer class and writes itself to an xml file OR reads an existing xml file and populates itself from it, when this file exists (Sven Fuchs) |
|---|
| 591 |
- Added a class patForms_Creator_Definition: creates a patForm instance and populates properties, elements and rules from a patForms_Definition instance (Sven Fuchs) |
|---|
| 592 |
- Added a class patForms_Datasource_Propel: used to populate data to form elements for foreign key/related tables from a Propel ObjectPeer. (Sven Fuchs) |
|---|
| 593 |
- Added a class patForms_Storage_Propel: implements the patForms_Storage interface to integrate with a Propel object peer. (Sven Fuchs) |
|---|
| 594 |
|
|---|
| 595 |
* Renderer |
|---|
| 596 |
- Changed patForms_Renderer_Array to not include patForms_Datasource objects in the results array (This closes bug #131) (Sven Fuchs) |
|---|
| 597 |
- Added new patTemplate Renderer (schst) |
|---|
| 598 |
|
|---|
| 599 |
* Parser |
|---|
| 600 |
- Edited patForms_Parser "sourcefile could not be read"-message to include some additional useful debugging information (argh) |
|---|
| 601 |
- Added filename to patForms_Parser error message (schst) |
|---|
| 602 |
- patForms_Parser_HTML now extracts attributes of the <form/> tag (schst) |
|---|
| 603 |
- Allow more than one element with the same name (schst) |
|---|
| 604 |
- Fixed bug with spaces in attribute values (schst) |
|---|
| 605 |
- Added value-namespace support via the namespace attribute of the <patForms:Form/> tag (schst) |
|---|
| 606 |
- Added event support via attributes of the <patForms:Form/> tag (schst) |
|---|
| 607 |
</notes> |
|---|
| 608 |
</release> |
|---|
| 609 |
</changelog> |
|---|
| 610 |
</package> |
|---|