Top Level :: Database

Package Information: DB_Table 1.4.0

Show All Changelogs
» Version » Information
1.5.5 2008-06-17     stable
1.5.4 2008-06-08     stable
1.5.3 2008-06-06     stable
1.5.2 2008-05-14     stable
1.5.1 2008-03-28     stable
1.5.0 2007-06-27     stable
1.5.0RC3 2007-06-14     beta
1.5.0RC2 2007-03-25     beta
1.5.0RC1 2007-02-06     beta
1.4.0Download

Release date: 2006-11-09 20:57 UTC
Release state: stable

Changelog:

- Static form elements like 'header', 'static', 'submit' or 'reset' can now
easily be added: define an array called $frm in your class, create a form
object (e.g. yourself, via $obj->getForm(), ...) and then call
$obj->addStaticFormElements($form);
The $frm array has a very similar format like the column definition format. The
key is the field name and the value is an array with details about the element.
There is a special key called 'before' in the details array. If it is not
given, or is empty (or null) the element will be appended at the end. If it is
given, the element is added before the element specified via 'before'.
Example:
var $frm = array('headline' => array('before' => 'name',
'qf_type' => 'header',
'qf_setvalue' => 'Headline'
),
'submit' => array('before' => null,
'qf_type' => 'submit',
'qf_setvalue' => 'Save data'
));
This example assumes that there is an element called 'name' in the form. The
header element will be placed before this 'name' element, and the submit button
will be placed at the end of the form.
- added support for 'hierselect' and 'jscalendar' QuickForm elements as
'qf_type' values in the column definition arrays
(thanks to Arne Bippes and QDog for the patches)
- fixes / optimizations for columns with 'qf_type' == 'file':
* if the column is marked as required, the 'uploadedfile' QF rule is now set
instead of the 'required' QF rule
* the 'numeric' and 'maxlength' QF rules are not set anymore (the corresponding
checks will still be done before inserting/updating data into the database)
- fixed wrong handling of errors in the constructor

Dependencies:
  • PEAR Package: PEAR Installer 1.4.0b1 or newer
  • PHP Version: PHP 4.0.0 or newer
  • PEAR Package: MDB2 2.0.1 or newer (optional)
  • PEAR Package: DB 1.7.6 or newer (optional)
  • PEAR Package: HTML_QuickForm (optional)
1.3.2 2006-07-25     stable
1.3.1 2006-07-19     stable
1.3.0 2006-04-26     stable
1.3.0RC5 2006-04-19     beta
1.3.0RC4 2006-04-13     beta
1.3.0RC3 2006-04-07     beta
1.3.0RC2 2006-04-07     beta
1.3.0RC1 2006-02-27     beta
1.2.1 2005-09-13     stable
1.2.0 2005-08-29     stable
1.1.0 2005-08-07     stable
1.0.1 2005-05-28     stable
1.0.0 2005-03-07     stable
1.0.0RC1 2005-02-23     beta
0.23.0 2004-12-30     beta
0.22.0 2004-10-27     beta
0.21.2 2004-07-12     alpha
0.21.1 2004-07-11     alpha
0.21 2004-07-11     alpha
0.18 2004-04-23     alpha
0.17 2004-04-21     alpha