Example #1
0
 /**
  * Constructor
  * 
  * @param Craftsman_Migration $Model
  */
 public function __construct(\CI_Controller $CI)
 {
     parent::__construct();
     $this->CI =& $CI;
     /**
      * We need to load the special migration settings.
      * 
      * Config file: 
      *  src/Extend/config/migration.php
      */
     $CI->config->load('migration', TRUE, TRUE);
 }
Example #2
0
 /**
  * Class constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->_filesystem = new Filesystem();
 }