cvs: pear /MDB2/MDB2/Driver/Datatype Common.php
| From: | Lorenzo Alberton | Date: | Wed, 28 Feb 2007 12:43:00 +0000 |
| Subject: | cvs: pear /MDB2/MDB2/Driver/Datatype Common.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-44911@lists.php.net to get a copy of this message | ||
quipo Wed Feb 28 12:43:00 2007 UTC
Modified files:
/pear/MDB2/MDB2/Driver/Datatype Common.php
Log:
phpdoc fixes (bug #10216)
http://cvs.php.net/viewvc.cgi/pear/MDB2/MDB2/Driver/Datatype/Common.php?r1=1.117&r2=1.118&diff_format=u
Index: pear/MDB2/MDB2/Driver/Datatype/Common.php
diff -u pear/MDB2/MDB2/Driver/Datatype/Common.php:1.117
pear/MDB2/MDB2/Driver/Datatype/Common.php:1.118
--- pear/MDB2/MDB2/Driver/Datatype/Common.php:1.117 Thu Jan 11 10:05:47 2007
+++ pear/MDB2/MDB2/Driver/Datatype/Common.php Wed Feb 28 12:42:59 2007
@@ -2,7 +2,7 @@
// +----------------------------------------------------------------------+
// | PHP versions 4 and 5 |
// +----------------------------------------------------------------------+
-// | Copyright (c) 1998-2006 Manuel Lemos, Tomas V.V.Cox, |
+// | Copyright (c) 1998-2007 Manuel Lemos, Tomas V.V.Cox, |
// | Stig. S. Bakken, Lukas Smith |
// | All rights reserved. |
// +----------------------------------------------------------------------+
@@ -42,7 +42,7 @@
// | Author: Lukas Smith <smith@pooteeweet.org> |
// +----------------------------------------------------------------------+
//
-// $Id: Common.php,v 1.117 2007/01/11 10:05:47 quipo Exp $
+// $Id: Common.php,v 1.118 2007/02/28 12:42:59 quipo Exp $
require_once 'MDB2/LOB.php';
@@ -159,11 +159,12 @@
// {{{ _baseConvertResult()
/**
- * general type conversion method
+ * General type conversion method
*
- * @param mixed $value refernce to a value to be converted
- * @param string $type specifies which type to convert to
- * @return object a MDB2 error on failure
+ * @param mixed $value reference to a value to be converted
+ * @param string $type specifies which type to convert to
+ * @param boolean $rtrim [optional] when TRUE [default], apply rtrim() to text
+ * @return object an MDB2 error on failure
* @access protected
*/
function _baseConvertResult($value, $type, $rtrim = true)
@@ -218,11 +219,11 @@
// {{{ convertResult()
/**
- * convert a value to a RDBMS indipendent MDB2 type
+ * Convert a value to a RDBMS indipendent MDB2 type
*
- * @param mixed $value value to be converted
- * @param string $type specifies which type to convert to
- * @param bool $rtrim if to rtrim text values or not
+ * @param mixed $value value to be converted
+ * @param string $type specifies which type to convert to
+ * @param boolean $rtrim [optional] when TRUE [default], apply rtrim() to text
* @return mixed converted value
* @access public
*/
@@ -249,12 +250,12 @@
// {{{ convertResultRow()
/**
- * convert a result row
+ * Convert a result row
*
- * @param array $types
- * @param array $row specifies the types to convert to
- * @param bool $rtrim if to rtrim text values or not
- * @return mixed MDB2_OK on success, a MDB2 error on failure
+ * @param array $types
+ * @param array $row specifies the types to convert to
+ * @param boolean $rtrim [optional] when TRUE [default], apply rtrim() to text
+ * @return mixed MDB2_OK on success, an MDB2 error on failure
* @access public
*/
function convertResultRow($types, $row, $rtrim = true)