Migrate data from one table to another. More...
Public Member Functions | |
__construct ($args) | |
Constructor. | |
execute ($output=true) | |
Run through the tables. | |
![]() | |
__call ($function, $params) | |
The 'magic' call method will get/set for us invoked when the interpreter can not find a method the user is asking for. | |
set_parameters ($arguments) | |
Set variables from an array to member fields requires $this->optional_arguments or $this->required_arguments to have been set by the subclass. |
Protected Attributes | |
$required_arguments = array('db_source', 'tables') | |
Array of options that can be set to variables. | |
$optional_arguments = array('db_target') | |
Array of options that need to be set to variables. | |
$db_source = array() | |
source database object | |
$db_target = array() | |
target database object | |
$tables = array() | |
array: (source =>'asource', [destination=>'adestination'], [fields('asource' => 'adestination', '...' => '...]) | |
![]() |
Migrate data from one table to another.
usage: