cvs: pear /DB_DataObject_FormBuilder FormBuilder.php

From: Date: Tue, 29 Aug 2006 14:42:33 +0000
Subject: cvs: pear /DB_DataObject_FormBuilder FormBuilder.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-41912@lists.php.net to get a copy of this message
justinpatrin Tue Aug 29 14:42:33 2006 UTC Modified files: /pear/DB_DataObject_FormBuilder FormBuilder.php Log: Fix some more docblocks, remove some useless code http://cvs.php.net/viewvc.cgi/pear/DB_DataObject_FormBuilder/FormBuilder.php?r1=1.229&r2=1.230&diff_format=u Index: pear/DB_DataObject_FormBuilder/FormBuilder.php diff -u pear/DB_DataObject_FormBuilder/FormBuilder.php:1.229 pear/DB_DataObject_FormBuilder/FormBuilder.php:1.230 --- pear/DB_DataObject_FormBuilder/FormBuilder.php:1.229 Tue Aug 29 14:38:51 2006 +++ pear/DB_DataObject_FormBuilder/FormBuilder.php Tue Aug 29 14:42:33 2006 @@ -89,7 +89,7 @@ * @author Justin Patrin <papercrane@reversefold.com> * @copyright 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version $Id: FormBuilder.php,v 1.229 2006/08/29 14:38:51 justinpatrin Exp $ + * @version $Id: FormBuilder.php,v 1.230 2006/08/29 14:42:33 justinpatrin Exp $ * @link http://pear.php.net/package/DB_DataObject_FormBuilder * @see DB_DataObject, HTML_QuickForm */ @@ -477,7 +477,7 @@ var $selectAddEmpty = array(); /** - * An string to put in the "empty option" added to select fields + * A string to put in the "empty option" added to select fields */ var $selectAddEmptyLabel = ''; @@ -1993,16 +1993,11 @@ $field, $link[1]); - if ($res !== false) { - return $res; - } - - $this->debug('Error: '.get_class($opts).' does not inherit from DB_DataObject'); - return array(); + return $res; } /** - * Internal function to get the select potions for a table. + * Internal function to get the select options for a table. * * @param string The table to get the select display strings for. * @param array array of diaply fields to use. Will default to the FB or DO options. @@ -2602,7 +2597,6 @@ * been done. Use this for filtering data, notifying users of changes etc.pp. ... * * @param array $values The values of the submitted form - * @param string $queryType If the standard query behaviour ain't good enough for you, you can force a certain type of query * @return mixed TRUE if database operations were performed, FALSE if not, PEAR_Error on error * @access public */

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