You are here

interface DatabaseSourceInterface in Backup and Migrate 8.4

Interface DatabaseSourceInterface.

@package BackupMigrate\Core\Source

Hierarchy

Expanded class hierarchy of DatabaseSourceInterface

All classes that implement DatabaseSourceInterface

1 file declares its use of DatabaseSourceInterface
DBExcludeFilter.php in lib/backup_migrate_core/src/Filter/DBExcludeFilter.php

File

lib/backup_migrate_core/src/Source/DatabaseSourceInterface.php, line 10

Namespace

BackupMigrate\Core\Source
View source
interface DatabaseSourceInterface extends SourceInterface {

  /**
   * Get a list of tables in this source.
   */
  public function getTableNames();

  /**
   * Get an array of tables with some info. Each entry must have at least a
   * 'name' key containing the table name.
   *
   * @return array
   */
  public function getTables();

}

Members

Namesort descending Modifiers Type Description Overrides
DatabaseSourceInterface::getTableNames public function Get a list of tables in this source. 1
DatabaseSourceInterface::getTables public function Get an array of tables with some info. Each entry must have at least a 'name' key containing the table name. 1
PluginInterface::opWeight public function What is the weight of the given operation for this plugin. 1
PluginInterface::supportedOps public function Get a list of supported operations and their weight. 1
PluginInterface::supportsOp public function Does this plugin implement the given operation. 1
SourceInterface::exportToFile public function Export this source to the given temp file. This should be the main back up function for this source. 2
SourceInterface::importFromFile public function Import to this source from the given backup file. This is the main restore function for this source. 2