Commit de896607 by Qiang Xue

Fixes #5367: Added `yii\grid\DataColumn::encodeLabel`

parent c6cb2056
......@@ -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)
......
......@@ -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;
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment