cvs: pear /DB/DB oci8.php
| From: | Daniel Convissor | Date: | Fri, 24 Dec 2004 21:17:11 +0000 |
| Subject: | cvs: pear /DB/DB oci8.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-27815@lists.php.net to get a copy of this message | ||
danielc Fri Dec 24 16:17:11 2004 EDT
Modified files:
/pear/DB/DB oci8.php
Log:
* Clean up prepare/execute docblocks a little.
http://cvs.php.net/diff.php/pear/DB/DB/oci8.php?r1=1.72&r2=1.73&ty=u
Index: pear/DB/DB/oci8.php
diff -u pear/DB/DB/oci8.php:1.72 pear/DB/DB/oci8.php:1.73
--- pear/DB/DB/oci8.php:1.72 Thu Dec 23 23:59:09 2004
+++ pear/DB/DB/oci8.php Fri Dec 24 16:17:10 2004
@@ -18,7 +18,7 @@
* @author Daniel Convissor <danielc@php.net>
* @copyright 1997-2004 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version CVS: $Id: oci8.php,v 1.72 2004/12/24 04:59:09 danielc Exp $
+ * @version CVS: $Id: oci8.php,v 1.73 2004/12/24 21:17:10 danielc Exp $
* @link http://pear.php.net/package/DB
*/
@@ -417,8 +417,11 @@
* "UPDATE foo SET col=? WHERE col='over \& under'"
* </code>
*
- * @param string $query query to be prepared
- * @return mixed DB statement resource on success. DB_Error on failure.
+ * @param string $query the query to be prepared
+ *
+ * @return mixed DB statement resource on success. DB_Error on failure.
+ *
+ * @see DB_oci8::execute()
*/
function prepare($query)
{
@@ -475,10 +478,12 @@
* passed must match quantity of placeholders in
* query: meaning 1 for non-array items or the
* quantity of elements in the array.
- * @return int returns an oci8 result resource for successful
- * SELECT queries, DB_OK for other successful queries. A DB error
- * code is returned on failure.
- * @see DB_oci::prepare()
+ *
+ * @return mixed returns an oic8 result resource for successful SELECT
+ * queries, DB_OK for other successful queries.
+ * A DB error object is returned on failure.
+ *
+ * @see DB_oci8::prepare()
*/
function &execute($stmt, $data = array())
{