PHP Interface Inpsyde\MultilingualPress\Database\TableDuplicator

Since: 3.0.0
Exibir arquivo Open project: inpsyde/multilingual-press Interface Usage Examples

Public Methods

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

Method Details

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.