break;
case 'unit':
$_temp = self::
_getFile($locale, '/ldml/units/unit', 'type'
);
foreach ($_temp as $key =>
$keyvalue) { $_temp2 = self::
_getFile($locale, '/ldml/units/unit[@type=\'' .
$key . '\']/unitPattern', 'count'
);
$temp[$key] =
$_temp2;
} break;
default:
throw new Zend_Locale_Exception("Unknown list (
$path) for parsing locale data."
);
break;
} if (isset(self::
$_cache)) { if (self::
$_cacheTags) { self::
$_cache->
save(serialize($temp),
$id,
['Zend_Locale'
]);
} else { self::
$_cache->
save(serialize($temp),
$id);
} }