cvs: pear /DB_QueryTool/QueryTool Query.php
| From: | Lorenzo Alberton | Date: | Sun, 27 Feb 2005 19:13:19 +0000 |
| Subject: | cvs: pear /DB_QueryTool/QueryTool Query.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-29873@lists.php.net to get a copy of this message | ||
quipo Sun Feb 27 14:13:19 2005 EDT
Modified files:
/pear/DB_QueryTool/QueryTool Query.php
Log:
doc typos and tweaks
http://cvs.php.net/diff.php/pear/DB_QueryTool/QueryTool/Query.php?r1=1.56&r2=1.57&ty=u
Index: pear/DB_QueryTool/QueryTool/Query.php
diff -u pear/DB_QueryTool/QueryTool/Query.php:1.56 pear/DB_QueryTool/QueryTool/Query.php:1.57
--- pear/DB_QueryTool/QueryTool/Query.php:1.56 Fri Feb 25 11:38:27 2005
+++ pear/DB_QueryTool/QueryTool/Query.php Sun Feb 27 14:13:19 2005
@@ -19,7 +19,7 @@
* @author Lorenzo Alberton <l dot alberton at quipo dot it>
* @copyright 2003-2005 Wolfram Kriesing, Paolo Panto, Lorenzo Alberton
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: Query.php,v 1.56 2005/02/25 16:38:27 quipo Exp $
+ * @version CVS: $Id: Query.php,v 1.57 2005/02/27 19:13:19 quipo Exp $
* @link http://pear.php.net/package/DB_QueryTool
*/
@@ -340,9 +340,9 @@
* @version 2002/03/05
* @access public
* @author Wolfram Kriesing <wk@visionp.de>
- * @param integer the id of the element to retreive
+ * @param integer the id of the element to retrieve
* @param string if this is given only one row shall be returned, directly, not an array
- * @return mixed (1) an array of the retreived data
+ * @return mixed (1) an array of the retrieved data
* (2) if the second parameter is given and its only one column,
* only this column's data will be returned
* (3) false in case of failure
@@ -429,7 +429,7 @@
* $ids = $table->getCol();
* OR
* $ids = $table->getCol('id');
- * so ids will ba an array with all the id's
+ * so ids will be an array with all the id's
*
* @version 2003/02/25
* @access public
@@ -714,7 +714,7 @@
* @access public
* @author Wolfram Kriesing <wk@visionp.de>
* @param mixed integer/string - the value of the column that shall be removed
- * array - multiple columns that shall be matched, the second parameter
will be ommited
+ * array - multiple columns that shall be matched, the second parameter
will be ignored
* @param string the column to match the data against, only if $data is not an array
* @return boolean
*/
@@ -905,7 +905,7 @@
}
// }}}
- // {{{ addWhere()
+ // {{{ addWhereSearch()
/**
* add a where-like clause which works like a search for the given string
@@ -923,8 +923,8 @@
*/
function addWhereSearch($column, $string, $condition='AND')
{
- // if the column doesnt contain a tablename use the current table name in case it is a
defined column
- // to prevent ambigious rows
+ // if the column doesn't contain a tablename use the current table name
+ // in case it is a defined column to prevent ambiguous rows
if (strpos($column, '.') === false) {
$meta = $this->metadata();
if (isset($meta[$column])) {
@@ -1028,7 +1028,7 @@
/**
* Extend the current having clause. This is very useful, when you are building
- * this clause from different places and dont want to overwrite the currently
+ * this clause from different places and don't want to overwrite the currently
* set having clause, but extend it.
*
* @param string this is a having clause, i.e. 'column' or 'table.column'
or 'MAX(column)'