You are here

function hook_scanner_query_where in Search and Replace Scanner 7

Allow additional arguments to be added to the 'or' query.

Parameters

db_or $or: The 'or' argument for the main query.

string $table: The table being queried.

string $field: The field being queried.

string $where: Something

bool $binary: If this is querying a binary field, will contain the string ' BINARY'.

3 functions implement hook_scanner_query_where()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

link_scanner_query_where in ./scanner.module
Implements hook_scanner_query_where().
scanner_scanner_query_where in ./scanner.module
Implements hook_scanner_query_where().
text_scanner_query_where in ./scanner.module
Implements hook_scanner_query_where().
1 invocation of hook_scanner_query_where()
scanner_execute in ./scanner.module
Handles the actual search and replace.

File

./scanner.api.php, line 22
API documentation and examples for the Search and Replace Scanner module.

Code

function hook_scanner_query_where(&$or, $table, $field, $where, $binary) {
}