PHP 인터페이스 Inpsyde\MultilingualPress\Database\TableStringReplacer

부터: 3.0.0
파일 보기 프로젝트 열기: inpsyde/multilingual-press 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.