cvs: pear /DB_Table package2.xml /DB_Table/DB/Table QuickForm.php

From: Date: Fri, 28 Mar 2008 20:00:38 +0000
Subject: cvs: pear /DB_Table package2.xml /DB_Table/DB/Table QuickForm.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-51720@lists.php.net to get a copy of this message
wiesemann Fri Mar 28 20:00:38 2008 UTC Modified files: /pear/DB_Table package2.xml /pear/DB_Table/DB/Table QuickForm.php Log: - Request #12136: support for 'qf_type' == 'link' is now available, providing access to the "link" element of HTML_QuickForm; the link href needs to be specified in the 'qf_href' key, the link text needs to be specified in the 'qf_setvalue' key - update changelog http://cvs.php.net/viewvc.cgi/pear/DB_Table/package2.xml?r1=1.37&r2=1.38&diff_format=u Index: pear/DB_Table/package2.xml diff -u pear/DB_Table/package2.xml:1.37 pear/DB_Table/package2.xml:1.38 --- pear/DB_Table/package2.xml:1.37 Fri Mar 28 17:58:17 2008 +++ pear/DB_Table/package2.xml Fri Mar 28 20:00:38 2008 @@ -52,6 +52,11 @@ <license uri="http://opensource.org/licenses/bsd-license.php">New BSD</license> <notes> - this package is now licensed under the New BSD license +- Request #12136: support for 'qf_type' == 'link' is now available, providing + access to the "link" element of HTML_QuickForm; the link href needs to be + specified in the 'qf_href' key, the link text needs to be specified in the + 'qf_setvalue' key + (thanks to Diederick Huijbers) - Bug #12190: missing error return in DB_Table_Manager::create() (thanks to Carsten Wiedmann for the patch) - Bug #12208: wrong verification of clob fields with mysql(i) backend http://cvs.php.net/viewvc.cgi/pear/DB_Table/DB/Table/QuickForm.php?r1=1.44&r2=1.45&diff_format=u Index: pear/DB_Table/DB/Table/QuickForm.php diff -u pear/DB_Table/DB/Table/QuickForm.php:1.44 pear/DB_Table/DB/Table/QuickForm.php:1.45 --- pear/DB_Table/DB/Table/QuickForm.php:1.44 Thu Dec 13 16:52:15 2007 +++ pear/DB_Table/DB/Table/QuickForm.php Fri Mar 28 20:00:38 2008 @@ -44,7 +44,7 @@ * @author David C. Morse <morse@php.net> * @author Mark Wiesemann <wiesemann@php.net> * @license http://opensource.org/licenses/bsd-license.php New BSD License - * @version CVS: $Id: QuickForm.php,v 1.44 2007/12/13 16:52:15 wiesemann Exp $ + * @version CVS: $Id: QuickForm.php,v 1.45 2008/03/28 20:00:38 wiesemann Exp $ * @link http://pear.php.net/package/DB_Table */ @@ -615,6 +615,19 @@ break; + case 'link': + + $element =& HTML_QuickForm::createElement( + $col['qf_type'], + $elemname, + $col['qf_label'], + $col['qf_href'], // link href + $setval, // link text + $col['qf_attrs'] + ); + + break; + case 'reset': case 'submit':

« previous php.pear.cvs (#51720) next »