[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
(no description)
Copyright: | (c) 2012 phpBB Group |
License: | http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 |
File Size: | 206 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
phpbb_update_rows_avoiding_duplicates($db, $table, $column, $from_values, $to_value) X-Ref |
Updates rows in given table from a set of values to a new value. If this results in rows violating uniqueness constraints, the duplicate rows are eliminated. The only supported table is bookmarks. param: dbal $db Database object param: string $table Table on which to perform the update param: string $column Column whose values to change param: array $from_values An array of values that should be changed param: int $to_value The new value return: null |
phpbb_update_rows_avoiding_duplicates_notify_status($db, $table, $column, $from_values, $to_value) X-Ref |
Updates rows in given table from a set of values to a new value. If this results in rows violating uniqueness constraints, the duplicate rows are merged respecting notify_status (0 takes precedence over 1). The only supported table is topics_watch. param: dbal $db Database object param: string $table Table on which to perform the update param: string $column Column whose values to change param: array $from_values An array of values that should be changed param: int $to_value The new value return: null |
Generated: Wed Oct 2 15:03:47 2013 | Cross-referenced by PHPXref 0.7.1 |