protected function _getLoadedClass($type, $class)
{
switch ($type) {
case 'blocks':
return Mage::getConfig()->getBlockClassName($class);
case 'helpers':
return Mage::getConfig()->getHelperClassName($class);
case 'models':
// fall-through intended
// fall-through intended
default:
/** @noinspection PhpParamsInspection */
return Mage::getConfig()->getModelClassName($class);
}
}