/** * Get the dateformat language cache for an ISO. * @param string $iso * @return array */ private static function getCache($iso) { if (isset(self::$CACHE[$iso])) { return self::$CACHE[$iso]; } if (self::$CACHE === NULL) { self::$CACHE = array(); } self::$CACHE[$iso] = GWF_HTML::getLang()->langISO($iso, 'datecache'); return self::$CACHE[$iso]; }