mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-12 11:40:19 +08:00
Fixes #5735: Added yii\bootstrap\Tabs::renderTabContent to support manually rendering tab contents
This commit is contained in:
@@ -5,6 +5,7 @@ Yii Framework 2 bootstrap extension Change Log
|
|||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
- Bug #5570: `yii\bootstrap\Tabs` would throw an exception if `content` is not set for one of its `items` (RomeroMsk)
|
- Bug #5570: `yii\bootstrap\Tabs` would throw an exception if `content` is not set for one of its `items` (RomeroMsk)
|
||||||
|
- Enh #5735: Added `yii\bootstrap\Tabs::renderTabContent` to support manually rendering tab contents (RomeroMsk)
|
||||||
|
|
||||||
|
|
||||||
2.0.0 October 12, 2014
|
2.0.0 October 12, 2014
|
||||||
|
|||||||
@@ -102,7 +102,9 @@ class Tabs extends Widget
|
|||||||
*/
|
*/
|
||||||
public $navType = 'nav-tabs';
|
public $navType = 'nav-tabs';
|
||||||
/**
|
/**
|
||||||
* @var boolean whether the tab-content container should be rendered.
|
* @var boolean whether to render the `tab-content` container and its content. You may set this property
|
||||||
|
* to be false so that you can manually render `tab-content` yourself in case your tab contents are complex.
|
||||||
|
* @since 2.0.1
|
||||||
*/
|
*/
|
||||||
public $renderTabContent = true;
|
public $renderTabContent = true;
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ Yii Framework 2 Change Log
|
|||||||
- Enh #5600: Allow configuring debug panels in `yii\debug\Module::panels` as panel class name strings (qiangxue)
|
- Enh #5600: Allow configuring debug panels in `yii\debug\Module::panels` as panel class name strings (qiangxue)
|
||||||
- Enh #5613: Added `--overwrite` option to Gii console command to support overwriting all files (motin, qiangxue)
|
- Enh #5613: Added `--overwrite` option to Gii console command to support overwriting all files (motin, qiangxue)
|
||||||
- Enh #5646: Call `yii\base\ErrorHandler::unregister()` instead of `restore_*_handlers` directly (aivus)
|
- Enh #5646: Call `yii\base\ErrorHandler::unregister()` instead of `restore_*_handlers` directly (aivus)
|
||||||
|
- Enh #5735: Added `yii\bootstrap\Tabs::renderTabContent` to support manually rendering tab contents (RomeroMsk)
|
||||||
- Enh: `Console::confirm()` now uses `Console::stdout()` instead of `echo` to be consistent with all other functions (cebe)
|
- Enh: `Console::confirm()` now uses `Console::stdout()` instead of `echo` to be consistent with all other functions (cebe)
|
||||||
- Chg #3630: `yii\db\Command::queryInternal()` is now protected (samdark)
|
- Chg #3630: `yii\db\Command::queryInternal()` is now protected (samdark)
|
||||||
|
|
||||||
|
|||||||
@@ -393,6 +393,9 @@ class Query extends Component implements QueryInterface
|
|||||||
* When the columns are specified as an array, you may also use array keys as the column aliases (if a column
|
* When the columns are specified as an array, you may also use array keys as the column aliases (if a column
|
||||||
* does not need alias, do not use a string key).
|
* does not need alias, do not use a string key).
|
||||||
*
|
*
|
||||||
|
* Starting from version 2.0.1, you may also select sub-queries as columns by specifying each such column
|
||||||
|
* as a `Query` instance representing the sub-query.
|
||||||
|
*
|
||||||
* @param string $option additional option that should be appended to the 'SELECT' keyword. For example,
|
* @param string $option additional option that should be appended to the 'SELECT' keyword. For example,
|
||||||
* in MySQL, the option 'SQL_CALC_FOUND_ROWS' can be used.
|
* in MySQL, the option 'SQL_CALC_FOUND_ROWS' can be used.
|
||||||
* @return static the query object itself
|
* @return static the query object itself
|
||||||
|
|||||||
Reference in New Issue
Block a user