/** * __construct * @param mixed $id * @param string $table * @param string $ds */ public function __construct($id = null, $table = null, $ds = null) { ConnectionManager::create($this->useDbConfig, array('datasource' => 'Ftp.FtpTestSource', 'host' => 'localhost', 'username' => 'user', 'password' => '1234', 'type' => 'ftp', 'cache' => false)); parent::__construct($id, $table, $ds); }