cvs: pear /DB/DB common.php
| From: | Daniel Convissor | Date: | Mon, 05 Jan 2004 04:13:35 +0000 |
| Subject: | cvs: pear /DB/DB common.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-15361@lists.php.net to get a copy of this message | ||
danielc Sun Jan 4 23:13:35 2004 EDT
Modified files:
/pear/DB/DB common.php
Log:
Tweak formatting of prepare() docblock.
Index: pear/DB/DB/common.php
diff -u pear/DB/DB/common.php:1.36 pear/DB/DB/common.php:1.37
--- pear/DB/DB/common.php:1.36 Sun Jan 4 00:58:45 2004
+++ pear/DB/DB/common.php Sun Jan 4 23:13:35 2004
@@ -17,7 +17,7 @@
// | Tomas V.V.Cox <cox@idecnet.com> |
// +----------------------------------------------------------------------+
//
-// $Id: common.php,v 1.36 2004/01/04 05:58:45 danielc Exp $
+// $Id: common.php,v 1.37 2004/01/05 04:13:35 danielc Exp $
//
// Base class for DB implementations.
//
@@ -29,7 +29,7 @@
* inherited by all such.
*
* @package DB
- * @version $Id: common.php,v 1.36 2004/01/04 05:58:45 danielc Exp $
+ * @version $Id: common.php,v 1.37 2004/01/05 04:13:35 danielc Exp $
* @category Database
* @author Stig Bakken <ssb@php.net>
* @author Tomas V.V.Cox <cox@idecnet.com>
@@ -401,21 +401,21 @@
*
* With some database backends, this is emulated.
*
- * prepare() requires a generic query as string like <samp>
+ * prepare() requires a generic query as string like <code>
* INSERT INTO numbers VALUES (?, ?, ?)
- * </samp>. The <samp>?</samp> characters are placeholders.
+ * </code>. The <kbd>?</kbd> characters are placeholders.
*
* Three types of placeholders can be used:
- * + <samp>?</samp> a quoted scalar value, i.e. strings, integers
- * + <samp>!</samp> value is inserted 'as is'
- * + <samp>&</samp> requires a file name. The file's contents get
+ * + <kbd>?</kbd> a quoted scalar value, i.e. strings, integers
+ * + <kbd>!</kbd> value is inserted 'as is'
+ * + <kbd>&</kbd> requires a file name. The file's contents get
* inserted into the query (i.e. saving binary
* data in a db)
*
* Use backslashes to escape placeholder characters if you don't want
- * them to be interpreted as placeholders. Example: <samp>
- * "UPDATE foo SET col=? WHERE col='over \& under'"
- * </samp>
+ * them to be interpreted as placeholders. Example: <code>
+ * "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.