SQLLikeValueCallback()
SQLLikeValueCallback(string $value) : string
A sample SQL-value callback function suitable for SQL LIKE operator
Escapes meta characters for LIKE operator and replaces '*' to '%'. Also prepends and appends '%'.
Parameters
string | $value | An original word. |
Returns
string —A converted value.