cakephp Instantiating models from another datasource Instantiating uses App::uses


Example

App::uses('YourModel', 'Model');
$model_1 = new YourModel(array('ds' => 'default'));
$model_2 = new YourModel(array('ds' => 'database2'));