-

   rss_rss_hh_new

 - e-mail

 

 -

 LiveInternet.ru:
: 17.03.2011
:
:
: 51

:


Yii 2.0.12

, 06 2017 . 14:01 +

2.0.12 PHP Yii.
http://www.yiiframework.com/download/.



2.0.12 Yii 2.0. .


, . UPGRADE.md file.


Yii !


GitHub. Twitter Facebook.


. , YiiConf
Yii
, .


Yii 2.1 , , composer.json ~2.0.12, >= *. 2.1 .


. CHANGELOG.



.
@vladis84, @boboldehampsink, @Kolyunya
Yii .


@schmunk42 docker GitLab. . . .



. \yii\db\QueryTrait::limit(), \yii\db\QueryTrait::offset() \yii\data\Sort.


MSSQL


MSSQL . yii\db\mssql\QueryBuilder::resetSequence().



  • yii\base\Security::hkdf() . , , hash_hkdf() PHP >= 7.1.2.
  • yii\captcha\CaptchaAction mt_rand() rand() .


safeUp() safeDown(). , (, MySQL), .


:


  • \yii\data\SqlDataProvider , totalCount .
  • ID. .
  • yii\grid\DataColumn , format boolean.

yii cache , APC .


yii\filters\AccessRule .



  • yii\web\UrlManager yii\web\UrlRule::createUrl() .
  • DB command .
  • yii\data\ActiveDataProvider , .


StringHelper URL- base64 encode()/decode(). .


yii\helpers\Html::img() srcset:


[php]
echo Html::img('/base-url', [
    'srcset' => [
        '100w' => '/example-100w',
        '500w' => '/example-500w',
        '1500w' => '/example-1500w',
    ],
]);

yii\widgets\LinkPager disabled. disableCurrentPageButton true.


:


  • yii\filters\AccessControl user.
  • Yii::$app.
Original source: habrahabr.ru (comments, light).

https://habrahabr.ru/post/330324/

:  

: [1] []
 

:
: 

: ( )

:

  URL