PHP Class Inpsyde\MultilingualPress\Database\WPDBTableDuplicator

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

Public Methods

Method Description
__construct ( ) Constructor. Sets up the properties.
duplicate_table ( string $existing_table, string $new_table ) : boolean Creates a new table that is an exact duplicate of an existing table.

Method Details

__construct() public method

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

duplicate_table() public method

Creates a new table that is an exact duplicate of an existing table.
Since: 3.0.0
public duplicate_table ( string $existing_table, string $new_table ) : boolean
$existing_table string Name of the existing table.
$new_table string Name of the new table.
return boolean Whether or not the table was duplicated successfully.