Phang  2.1
 All Classes Files Functions Variables Pages
Public Member Functions | Protected Attributes
Db_Migrate Class Reference

Migrate data from one table to another. More...

Inheritance diagram for Db_Migrate:
Base

List of all members.

Public Member Functions

 __construct ($args)
 Constructor.
 execute ($output=true)
 Run through the tables.
- Public Member Functions inherited from Base
 __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', '...' => '...])
- Protected Attributes inherited from Base

Detailed Description

Migrate data from one table to another.

usage:


The documentation for this class was generated from the following file: