function hook_scanner_preg_match_all in Search and Replace Scanner 7
Wrapper for preg_match_all() to allow customizations at the field level.
Parameters
array $matches: Expected to be passed to preg_match_all() as the third argument.
string $regextr: The regular expression being used for the query.
object $row: The results row from the search process.
Return value
int The number of matches found in this check.
2 functions implement hook_scanner_preg_match_all()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- scanner_scanner_preg_match_all in ./
scanner.module - Implements hook_scanner_preg_match_all().
- text_scanner_preg_match_all in ./
scanner.module - Implements hook_scanner_preg_match_all().
1 invocation of hook_scanner_preg_match_all()
- scanner_execute in ./
scanner.module - Handles the actual search and replace.
File
- ./
scanner.api.php, line 53 - API documentation and examples for the Search and Replace Scanner module.
Code
function hook_scanner_preg_match_all(&$matches, $regexstr, $row) {
}