📄 html_quickform.reg
字号:
- Added method getElementName() in group element (Bertrand Mansion)- Fix bug when setting attributes in date element (Bertrand Mansion)- Removed method display(), exists in parent class (Bertrand Mansion) ";}i:12;a:5:{s:7:"version";s:4:"2.10";s:12:"release_date";s:10:"2003-03-07";s:15:"release_license";s:11:"PHP License";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:960:"* Email validation regex accepts lower and uppercases (Derick Rethans).* Added getUploadedFile() and isUploadedFile() methods (Wotjek Gdela).* XHTML compliant for the form tags (Jules Szemere).* Fixed Javascript validation when empty elements are not required (Joern Barthel).* Added possibility to call setDefaults() and setConstants() anytime.* Fix problem with duplicate element names (ex: radio).* Added method updateElementAttr() to update the attributes of multiple elements (Dan Wilson).* Slovanian translation of date in date element (Matej Dakol).* Fix bug in date element preventing submitted values to be used.* Removed nbsp; replace in frozen textarea (Carsten Bleek, Dan Wilson).This is probably the last release of QuickForm without template support.The next release will have two BC breaks:- Use of filters will be easier, no registration needed.- Groups with no name will not be supported anymore, even if name is not used. ";}i:13;a:5:{s:7:"version";s:3:"2.9";s:12:"release_date";s:10:"2003-02-20";s:15:"release_license";s:11:"PHP License";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:444:"* Added htmlspecialchars() to frozen elements output in every case.* Elements are not validated against a function if they are empty and not required. It is easier this way for QuickForm to work with external validators. This is already the way it is done when using regex validation.* Added javascript validation for select multiple and checkboxes.* Added simple javascript validation for groups: values are imploded in a string. ";}i:14;a:5:{s:7:"version";s:3:"2.8";s:12:"release_date";s:10:"2003-02-18";s:15:"release_license";s:11:"PHP License";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:349:"* IMPORTANT: favour the use of addGroup() instead of addElementGroup().* Fix bug when validating grouped elements.* Removed useless call to toHtml() in toArray(), was disturbing the date element.* Fix bug with select multiple for display and validation.* Textarea element now uses nl2br() instead of pre tags so it won't mess your layout. ";}i:15;a:5:{s:7:"version";s:3:"2.7";s:12:"release_date";s:10:"2003-02-12";s:15:"release_license";s:11:"PHP License";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:982:"* Use moveUploadedFile() (PHP 4.1) for file uploads instead of copy() and unlink(). (Matthias Englert)* Added support for element names with brackets ie. element[name][firstname].* Added static element to add static text in form. (Wojciech Gdela)* Removed extra tabs created when wrapping form elements (Tim Glen)* Added validation for whole group with addRule('group') in complement to validation for group elements with addGroupRule('group').* Added ability to use a method from a class or from an object for validation using registerRule().* Fixed bug with radio button validation. (Jack Kline)* Fixed bug when validating checkboxes named with backets ie. checkbox[A]* Fixed a problem with stripslashes() in element.php* Fixed a bug in hidden.php preventing its value to be set under some conditions. (Arne Gellhaus)* In progress : fix bug with toArray() for the date element, use a layout object (templates), implement function validation for elements in group. ";}i:16;a:5:{s:7:"version";s:3:"2.6";s:12:"release_date";s:10:"2003-01-29";s:15:"release_license";s:11:"PHP License";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:398:"* IMPORTANT: addElement now returns a reference to the added element.* Added new date element to create formatted date selects.* Added example for the new date element in QuickForm_Example.php* Fixed a warning in checkbox element* Default values are always overidden by submitted values.* Email validation rules accept 4 chars extensions (.info, .name, ...)* Fixed bug in applyFilter() ";}i:17;a:5:{s:7:"version";s:3:"2.5";s:12:"release_date";s:10:"2002-11-20";s:15:"release_license";s:11:"PHP License";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:688:"* Refine the use of setDefaults and setContants.setDefaults is used to fill the form with defaults values that will be overriden by submitted values once the form is submitted.setConstants is used to overide default and submitted values for example if form is not valid when submitted. In this case, constant values will be shown again in the field.In all cases, values won't be overriden by the other method anymore.* Added grouped elements validation on the server-side.* Added grouped elements customization through templates.* Fixes in rules for file uploads on maxsize, mime... when element is not required.* Added a new example for groups customization and validation. ";}i:18;a:5:{s:7:"version";s:3:"2.4";s:12:"release_date";s:10:"2002-10-21";s:15:"release_license";s:11:"PHP License";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:1047:"* Use $_POST, $_GET and $_FILES instead of $HTTP_.* Better error checking in renderElement().* Fixed freeze() for removed elements.* Added new element 'hiddenselect'.* Added optional $in_data parameter to method toHtml so that data can be added to the form right before it is rendered. Useful when using with a template system.* Changed the way the key is obtained for _elementIndex in addElement() to accomodate with removeElement().* Some changes to _buildRules(): Made some of the javascript variables private which did not need have a global scope (such as frm).* Added new rule: emailorblank.* Fixes in HTML_QuickForm_Element.* Fixes in QuickForm_example2.php.* Added getElements() in HTML_QuickForm_Group which returns an array of all elements in group by reference.* Added getGroupType() in HTML_QuickForm_Group which returns the type of group as string or 'mixed' if group is composed of different element types.* Fixes in file upload validation rules.* Added a few new examples for filters, rules, file uploads usage. ";}i:19;a:5:{s:7:"version";s:3:"2.3";s:12:"release_date";s:10:"2002-06-19";s:15:"release_license";s:11:"PHP License";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:702:"* Important API change in the way select elements load arrays.* Added the possibility to set a template for an element only.* Fixes in the creation of select elements with multiple attribute.* Added consistency in the magic_quotes handling.* Added recursive filters on setDefaults an setConstants values.* Added getSubmitValue (same as getSubmitValues but for one value only).* Removed HTML_QuickForm_date element: it needs more work.* Added the HTML_QuickForm_advcheckbox element in package and in registered elements.* Added one example for the HTML_QuickForm_advcheckbox element.* Added setPersistantFreeze accessor method in element.php.* Fixed problems with password field values. ";}i:20;a:5:{s:7:"version";s:3:"2.2";s:12:"release_date";s:10:"2002-05-29";s:15:"release_license";s:11:"PHP License";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:71:"* Some fixes for file uploads.* Some fixes for hidden fields. ";}i:21;a:5:{s:7:"version";s:3:"2.0";s:12:"release_date";s:10:"2002-04-15";s:15:"release_license";s:11:"PHP License";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:1939:"New API for new version 2.0 !Here is a list of what's new in this version:* Moved all the elements from HTML/QuickForm/Elements/ to HTML/QuickForm/* Added $_elementIndex to keep track of the elements* Changed $_elementValues to $_defaultValues* Removed $_hidden and $_frozen* Added Filter support* Added templates for the _wrap functions* Changed loadDefault() to setDefaults()* Moved most of the logic to the element classes* Created an abstraction between the form class and the elements* Added getElement() and getElementValue()* Added toArray()* Cleaned up a lot of the code* Added the // {{{ markers to all files to make it for easier reading in vim* Added the error handlers and codes to make errors more descriptive* Added new method setConstants() which is like setDefaults() except that it overrides the POST or GET variables.* Added methods setElementTemplate(), setFormTemplate(), setHeaderTemplate() and setRequiredNotTemplate(). They are pretty self-explanatory.* Added method addData(). Same as before.* Added new method clearAllTemplates() which basically strips out all HTML. This is useful if you want to create a completely custom looking form using addData()* Fixed the toHtml() method so that it is a while statement so that freeze() works.* Fixed a bug in the hidden type, where it was setting the value when you created the element, thus not allowing the value to be set by POST or GET variables.* Took out the is_int test in select.php.* Made the caller a global variable in element.php, so that it can be accessed, if need be, in other element classes.* Changed it so that if an element is frozen and has no value it outputs ' ' instead of nothing which messes up old browsers like NS4.* Added renderElement() method which will return the html for one element.* Added removeElement() method which removes the element from the elements list. Both methods accept parameters. ";}i:22;a:5:{s:7:"version";s:3:"2.1";s:12:"release_date";s:10:"2002-05-24";s:15:"release_license";s:11:"PHP License";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:163:"* Fixes for many if not all E_ALL warnings.* Filter function is now recursive.* Better handling of registered rules.* New regex for numeric validation. ";}i:23;a:5:{s:7:"version";s:4:"1.12";s:12:"release_date";s:10:"2002-03-22";s:15:"release_license";s:11:"PHP License";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:55:"Changed directory structure for package installation.";}i:24;a:5:{s:7:"version";s:3:"1.0";s:12:"release_date";s:10:"2001-09-06";s:15:"release_license";s:11:"PHP License";s:13:"release_state";s:6:"stable";s:13:"release_notes";s:60:"This is the initial release of the HTML_QuickForm package.";}}s:13:"_lastmodified";i:1132042224;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -