PEAR Manual
Prev |  | Next

# File_SearchReplace::setSearchFunction()

File_SearchReplace::setSearchFunction() -- set search function to use

## Synopsis

    require_once 'File/SearchReplace.php';

``void File_SearchReplace::setSearchFunction` (array $search_function)`

## Description

Function to determine which search function is used.

## Parameter

- `$search_function` - The search function that should be used. Possible values: `"normal"`, `"quick"`, `"preg"`, `"ereg"`

## Note

This function can not be called statically.

## See

File_SearachReplace constructor() ,"Types of search functions"

Prev | Home | Next
File_SearchReplace::setReplace() | Up | File_HtAccess