PHP Class Inpsyde\MultilingualPress\Database\WPDBTableDuplicator

Since: 3.0.0
Inheritance: implements Inpsyde\MultilingualPress\Database\TableDuplicator
Afficher le fichier Open project: inpsyde/multilingual-press

Méthodes publiques

Méthode 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 méthode

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

duplicate_table() public méthode

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.
Résultat boolean Whether or not the table was duplicated successfully.