PHP Interface Inpsyde\MultilingualPress\Database\TableInstaller

Since: 3.0.0
Datei anzeigen Open project: inpsyde/multilingual-press Interface Usage Examples

Public Methods

Method Description
install ( Inpsyde\MultilingualPress\Database\Table $table = null ) : boolean Installs the given table.
uninstall ( Inpsyde\MultilingualPress\Database\Table $table = null ) : boolean Uninstalls the given table.

Method Details

install() public method

Installs the given table.
Since: 3.0.0
public install ( Inpsyde\MultilingualPress\Database\Table $table = null ) : boolean
$table Inpsyde\MultilingualPress\Database\Table Optional. Table object. Defaults to null.
return boolean Whether or not the table was installed successfully.

uninstall() public method

Uninstalls the given table.
Since: 3.0.0
public uninstall ( Inpsyde\MultilingualPress\Database\Table $table = null ) : boolean
$table Inpsyde\MultilingualPress\Database\Table Optional. Table object. Defaults to null.
return boolean Whether or not the table was uninstalled successfully.