Hello i want to add another layer between CI and DB.. I want to write my functions like
$user = new User_Model()
$user->username="xxx";
$entityManager->saveOrUpdateObject($user);
or
$user = $entityManager->loadObject(array('table' => 'user','id' => 5));
which are using native db functions built in codeigniter already.. I was doing it by base model classes but i want another class to do it because i want to use my IDE's code completion abilities..
P.S i activated #1 hack from http://net.tutsplus.com/tutorials/php/6-codeigniter-hacks-for-the-masters/