PHP Class Inpsyde\MultilingualPress\Database\WPDBTableReplacer

Since: 3.0.0
Inheritance: implements Inpsyde\MultilingualPress\Database\TableReplacer
Datei anzeigen Open project: inpsyde/multilingual-press

Public Methods

Method Description
__construct ( ) Constructor. Sets up the properties.
replace_table ( string $destination, string $source ) : boolean Replaces the content of one table with another table's content.

Method Details

__construct() public method

Constructor. Sets up the properties.
Since: 3.0.0
public __construct ( )

replace_table() public method

Replaces the content of one table with another table's content.
Since: 3.0.0
public replace_table ( string $destination, string $source ) : boolean
$destination string Name of the destination table.
$source string Name of the source table.
return boolean Whether or not the table was replaced successfully.