PHP Интерфейс Inpsyde\MultilingualPress\Database\TableStringReplacer

С версии: 3.0.0
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
replace_string ( string $table, array $columns, string $search, string $replacement ) : integer Replaces one string with another all given columns of the given table at once.

Описание методов

replace_string() публичный метод

Replaces one string with another all given columns of the given table at once.
С версии: 3.0.0
public replace_string ( string $table, array $columns, string $search, string $replacement ) : integer
$table string The name of the table to replace the string in.
$columns array The names of all columns to replace the string in.
$search string The string to replace.
$replacement string The replacment.
Результат integer The number of affected rows.