Quantcast
Channel: Live News for Yii Framework
Viewing all articles
Browse latest Browse all 3375

[news] Yii View 9.0

$
0
0

Version 9.0 of Yii View package was released.

  • added View::getLocale() and WebView::getLocale() methods;
  • added immutable method ViewInterface::withTheme();
  • deprecated ViewInterface::withDefaultExtension() and ViewInterface::getDefaultExtension() in favor of withFallbackExtension() and getFallbackExtensions();
  • adjusted config to make View and WebView more configurable;
  • made fallback extension configurable & support multiple fallbacks;
  • added types to ViewInterface::setParameter() and ViewInterface::addToParameter() parameters;
  • made event dispatcher in View and WebView optional;
  • made base path in View and WebView optional;
  • fixed signature of CachedContent::cache();
  • fixed reset config for referenced definitions;
  • fixed render templates that contain dots in their name.

Viewing all articles
Browse latest Browse all 3375

Trending Articles