Yii2 framework backup
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

1.6 KiB

Yii Framework 2 smarty extension Change Log

2.0.1 under development

  • no changes in this release.

2.0.0 October 12, 2014

  • no changes in this release.

2.0.0-rc September 27, 2014

  • Enh #4619 (samdark, hwmaier)
    • New functions:
      • url generates absolute URL.
      • set allows setting commonly used view parameters: title, theme and layout.
      • meta registers meta tag.
      • registerJsFile registers JavaScript file.
      • registerCssFile registers CSS file.
      • use allows importing classes to the template and optionally provides these as functions and blocks.
    • New blocks:
      • title.
      • description.
      • registerJs.
      • registerCss.
    • New modifier void that allows calling functions and ignoring result.
    • Moved most of Yii custom syntax into \yii\smarty\Extension class that could be extended via extensionClass property.
    • Added ability to set Smarty options via config using options.
    • Added imports property that accepts an array of classes imported into template namespace.
    • Added widgets property that can be used to import widgets as Smarty tags.
    • Yii::$app->params['paramKey'] values are now accessible as Smarty config variables {#paramKey#}.
    • Added ability to use Yii aliases in extends and require.

2.0.0-beta April 13, 2014

  • no changes in this release.

2.0.0-alpha, December 1, 2013

  • Initial release.