diff --git a/framework/CHANGELOG.md b/framework/CHANGELOG.md index 36a1cd3..d5a2f06 100644 --- a/framework/CHANGELOG.md +++ b/framework/CHANGELOG.md @@ -32,6 +32,7 @@ Yii Framework 2 Change Log - Enh #4263: Added migration and SQL schema files for `yii\log\DbTarget` (samdark) - Enh #4457: Added support for using noscript for css files registered through asset bundles and Html helper (samdark) - Enh #5223: Query builder now supports selecting sub-queries as columns (qiangxue) +- Enh #5367: Added `yii\grid\DataColumn::encodeLabel` (SDKiller) - Enh #5587: `json_encode` is now used with `JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE` where it makes sense, also it is now default for `Json::encode()` (samdark) - Enh #5600: Allow configuring debug panels in `yii\debug\Module::panels` as panel class name strings (qiangxue) diff --git a/framework/grid/DataColumn.php b/framework/grid/DataColumn.php index dab0f26..95397a3 100644 --- a/framework/grid/DataColumn.php +++ b/framework/grid/DataColumn.php @@ -50,7 +50,9 @@ class DataColumn extends Column */ public $label; /** - * @var boolean whether the label should be HTML-encoded. + * @var boolean whether the header label should be HTML-encoded. + * @see label + * @since 2.0.1 */ public $encodeLabel = true; /**