Changeset 18753 for trunk/wp-includes/wp-db.php
- Timestamp:
- 09/22/2011 12:02:31 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/wp-db.php
r18714 r18753 556 556 * 557 557 * @param string $prefix Alphanumeric name for the new prefix. 558 * @param bool $set_table_names Optional. Whether the table names, e.g. wpdb::$posts, should be updated or not. 558 559 * @return string|WP_Error Old prefix or WP_Error on error 559 560 */ … … 727 728 * @return null Always null. 728 729 */ 729 function select( $db, $dbh = null ) {730 function select( $db, $dbh = null ) { 730 731 if ( is_null($dbh) ) 731 732 $dbh = $this->dbh; … … 1179 1180 * @param array|string $format Optional. An array of formats to be mapped to each of the value in $data. If string, that format will be used for all of the values in $data. 1180 1181 * A format is one of '%d', '%f', '%s' (integer, float, string). If omitted, all values in $data will be treated as strings unless otherwise specified in wpdb::$field_types. 1182 * @param string $type Optional. What type of operation is this? INSERT or REPLACE. Defaults to INSERT. 1181 1183 * @return int|false The number of rows affected, or false on error. 1182 1184 */ … … 1218 1220 * @param array|string $format Optional. An array of formats to be mapped to each of the values in $data. If string, that format will be used for all of the values in $data. 1219 1221 * A format is one of '%d', '%f', '%s' (integer, float, string). If omitted, all values in $data will be treated as strings unless otherwise specified in wpdb::$field_types. 1220 * @param array|string $ format_whereOptional. An array of formats to be mapped to each of the values in $where. If string, that format will be used for all of the items in $where. A format is one of '%d', '%f', '%s' (integer, float, string). If omitted, all values in $where will be treated as strings.1222 * @param array|string $where_format Optional. An array of formats to be mapped to each of the values in $where. If string, that format will be used for all of the items in $where. A format is one of '%d', '%f', '%s' (integer, float, string). If omitted, all values in $where will be treated as strings. 1221 1223 * @return int|false The number of rows updated, or false on error. 1222 1224 */
Note: See TracChangeset
for help on using the changeset viewer.