Browse Source

usage of `yii\helpers\Html` removed

tags/2.0.6
Klimov Paul 9 years ago
parent
commit
34081f44cb
  1. 1
      ActiveField.php
  2. 1
      ActiveForm.php
  3. 1
      Alert.php
  4. 2
      BaseHtml.php
  5. 2
      Button.php
  6. 1
      ButtonDropdown.php
  7. 1
      ButtonGroup.php
  8. 4
      CHANGELOG.md
  9. 1
      Carousel.php
  10. 1
      Collapse.php
  11. 2
      Dropdown.php
  12. 2
      Html.php
  13. 1
      Modal.php
  14. 1
      Nav.php
  15. 1
      NavBar.php
  16. 1
      Progress.php
  17. 1
      Tabs.php

1
ActiveField.php

@ -7,7 +7,6 @@
namespace yii\bootstrap; namespace yii\bootstrap;
use yii\helpers\Html;
use yii\helpers\ArrayHelper; use yii\helpers\ArrayHelper;
/** /**

1
ActiveForm.php

@ -8,7 +8,6 @@
namespace yii\bootstrap; namespace yii\bootstrap;
use Yii; use Yii;
use yii\helpers\Html;
use yii\base\InvalidConfigException; use yii\base\InvalidConfigException;
/** /**

1
Alert.php

@ -9,7 +9,6 @@ namespace yii\bootstrap;
use Yii; use Yii;
use yii\helpers\ArrayHelper; use yii\helpers\ArrayHelper;
use yii\helpers\Html;
/** /**
* Alert renders an alert bootstrap component. * Alert renders an alert bootstrap component.

2
BaseHtml.php

@ -16,7 +16,7 @@ use yii\helpers\Html;
* Do not use BaseHtml. Use [[Html]] instead. * Do not use BaseHtml. Use [[Html]] instead.
* *
* @author Paul Klimov <klimov.paul@gmail.com> * @author Paul Klimov <klimov.paul@gmail.com>
* @since 2.0.4 * @since 2.0.5
*/ */
class BaseHtml extends \yii\helpers\Html class BaseHtml extends \yii\helpers\Html
{ {

2
Button.php

@ -7,8 +7,6 @@
namespace yii\bootstrap; namespace yii\bootstrap;
use yii\helpers\Html;
/** /**
* Button renders a bootstrap button. * Button renders a bootstrap button.
* *

1
ButtonDropdown.php

@ -8,7 +8,6 @@
namespace yii\bootstrap; namespace yii\bootstrap;
use yii\helpers\ArrayHelper; use yii\helpers\ArrayHelper;
use yii\helpers\Html;
/** /**
* ButtonDropdown renders a group or split button dropdown bootstrap component. * ButtonDropdown renders a group or split button dropdown bootstrap component.

1
ButtonGroup.php

@ -8,7 +8,6 @@
namespace yii\bootstrap; namespace yii\bootstrap;
use yii\helpers\ArrayHelper; use yii\helpers\ArrayHelper;
use yii\helpers\Html;
/** /**
* ButtonGroup renders a button group bootstrap component. * ButtonGroup renders a button group bootstrap component.

4
CHANGELOG.md

@ -7,6 +7,8 @@ Yii Framework 2 bootstrap extension Change Log
- Enh #38: Added object support for `content` option in `Collapse` class (pana1990, ItsReddi) - Enh #38: Added object support for `content` option in `Collapse` class (pana1990, ItsReddi)
- Enh #40: Added `visible` option to `yii\bootstrap\Tab` widget items (klimov-paul) - Enh #40: Added `visible` option to `yii\bootstrap\Tab` widget items (klimov-paul)
- Enh #41: Added `submenuOptions` support at `yii\bootstrap\Dropdown` (spikyjt, klimov-paul) - Enh #41: Added `submenuOptions` support at `yii\bootstrap\Dropdown` (spikyjt, klimov-paul)
- Enh #1344: Added support for the static form controls via `yii\bootstrap\Html` (klimov-paul)
- Enh #5207: Added support for the glyphicons via `yii\bootstrap\Html::icon()` (klimov-paul)
2.0.4 May 10, 2015 2.0.4 May 10, 2015
------------------ ------------------
@ -17,9 +19,7 @@ Yii Framework 2 bootstrap extension Change Log
- Bug #8231: Configuration of Alert, ButtonDropdown, Modal widget where not preserved when used multiple times (cebe, idMolotov) - Bug #8231: Configuration of Alert, ButtonDropdown, Modal widget where not preserved when used multiple times (cebe, idMolotov)
- Bug (CVE-2015-3397): Using `Json::htmlEncode()` for safer JSON data encoding in HTML code (samdark, Tomasz Tokarski) - Bug (CVE-2015-3397): Using `Json::htmlEncode()` for safer JSON data encoding in HTML code (samdark, Tomasz Tokarski)
- Enh #29: Added support to list-groups for Collapse class (pana1990, skullcrasher) - Enh #29: Added support to list-groups for Collapse class (pana1990, skullcrasher)
- Enh #1344: Added support for the static form controls via `yii\bootstrap\Html` (klimov-paul)
- Enh #2546: Added `visible` option to `yii\bootstrap\ButtonGroup::$buttons` (samdark, lukBarros) - Enh #2546: Added `visible` option to `yii\bootstrap\ButtonGroup::$buttons` (samdark, lukBarros)
- Enh #5207: Added support for the glyphicons via `yii\bootstrap\Html::icon()` (klimov-paul)
- Enh #7633: Added `ActionColumn::$buttonOptions` for defining HTML options to be added to the default buttons (cebe) - Enh #7633: Added `ActionColumn::$buttonOptions` for defining HTML options to be added to the default buttons (cebe)
- Enh: Added `Nav::$dropDownCaret` to allow customization of the dropdown caret symbol (cebe) - Enh: Added `Nav::$dropDownCaret` to allow customization of the dropdown caret symbol (cebe)
- Enh: Added support for using external URLs for `Tabs`. (dynasource, qiangxue) - Enh: Added support for using external URLs for `Tabs`. (dynasource, qiangxue)

1
Carousel.php

@ -9,7 +9,6 @@ namespace yii\bootstrap;
use yii\base\InvalidConfigException; use yii\base\InvalidConfigException;
use yii\helpers\ArrayHelper; use yii\helpers\ArrayHelper;
use yii\helpers\Html;
/** /**
* Carousel renders a carousel bootstrap javascript component. * Carousel renders a carousel bootstrap javascript component.

1
Collapse.php

@ -9,7 +9,6 @@ namespace yii\bootstrap;
use yii\base\InvalidConfigException; use yii\base\InvalidConfigException;
use yii\helpers\ArrayHelper; use yii\helpers\ArrayHelper;
use yii\helpers\Html;
/** /**
* Collapse renders an accordion bootstrap javascript component. * Collapse renders an accordion bootstrap javascript component.

2
Dropdown.php

@ -9,8 +9,6 @@ namespace yii\bootstrap;
use yii\base\InvalidConfigException; use yii\base\InvalidConfigException;
use yii\helpers\ArrayHelper; use yii\helpers\ArrayHelper;
use yii\helpers\Html;
use yii\helpers\Url;
/** /**
* Dropdown renders a Bootstrap dropdown menu component. * Dropdown renders a Bootstrap dropdown menu component.

2
Html.php

@ -15,7 +15,7 @@ namespace yii\bootstrap;
* you are using inside your views. * you are using inside your views.
* *
* @author Paul Klimov <klimov.paul@gmail.com> * @author Paul Klimov <klimov.paul@gmail.com>
* @since 2.0.4 * @since 2.0.5
*/ */
class Html extends BaseHtml class Html extends BaseHtml
{ {

1
Modal.php

@ -9,7 +9,6 @@ namespace yii\bootstrap;
use Yii; use Yii;
use yii\helpers\ArrayHelper; use yii\helpers\ArrayHelper;
use yii\helpers\Html;
/** /**
* Modal renders a modal window that can be toggled by clicking on a button. * Modal renders a modal window that can be toggled by clicking on a button.

1
Nav.php

@ -10,7 +10,6 @@ namespace yii\bootstrap;
use Yii; use Yii;
use yii\base\InvalidConfigException; use yii\base\InvalidConfigException;
use yii\helpers\ArrayHelper; use yii\helpers\ArrayHelper;
use yii\helpers\Html;
/** /**
* Nav renders a nav HTML component. * Nav renders a nav HTML component.

1
NavBar.php

@ -9,7 +9,6 @@ namespace yii\bootstrap;
use Yii; use Yii;
use yii\helpers\ArrayHelper; use yii\helpers\ArrayHelper;
use yii\helpers\Html;
/** /**
* NavBar renders a navbar HTML component. * NavBar renders a navbar HTML component.

1
Progress.php

@ -9,7 +9,6 @@ namespace yii\bootstrap;
use yii\base\InvalidConfigException; use yii\base\InvalidConfigException;
use yii\helpers\ArrayHelper; use yii\helpers\ArrayHelper;
use yii\helpers\Html;
/** /**
* Progress renders a bootstrap progress bar component. * Progress renders a bootstrap progress bar component.

1
Tabs.php

@ -9,7 +9,6 @@ namespace yii\bootstrap;
use yii\base\InvalidConfigException; use yii\base\InvalidConfigException;
use yii\helpers\ArrayHelper; use yii\helpers\ArrayHelper;
use yii\helpers\Html;
/** /**
* Tabs renders a Tab bootstrap javascript component. * Tabs renders a Tab bootstrap javascript component.

Loading…
Cancel
Save