function getModel($name) { global $db; $m = new DBModel($name, false); $m->setDb($db); $m->useCache(false); return $m; }