changed bs4 to bs5 in doc comments

This commit is contained in:
Simon Karlen 2021-08-03 10:29:01 +02:00
parent 28d4de1286
commit 2e885dd544
No known key found for this signature in database
GPG Key ID: 0630C27D666EBCC3
4 changed files with 6 additions and 6 deletions

View File

@ -7,9 +7,9 @@ namespace yii\bootstrap5;
use yii\base\InvalidConfigException; use yii\base\InvalidConfigException;
/** /**
* A Bootstrap 4 enhanced version of [[\yii\widgets\ActiveForm]]. * A Bootstrap 5 enhanced version of [[\yii\widgets\ActiveForm]].
* *
* This class mainly adds the [[layout]] property to choose a Bootstrap 4 form layout. * This class mainly adds the [[layout]] property to choose a Bootstrap 5 form layout.
* So for example to render a horizontal form you would: * So for example to render a horizontal form you would:
* *
* ```php * ```php
@ -91,7 +91,7 @@ class ActiveForm extends \yii\widgets\ActiveForm
* By choosing a layout, an appropriate default field configuration is applied. This will * By choosing a layout, an appropriate default field configuration is applied. This will
* render the form fields with slightly different markup for each layout. You can * render the form fields with slightly different markup for each layout. You can
* override these defaults through [[fieldConfig]]. * override these defaults through [[fieldConfig]].
* @see ActiveField for details on Bootstrap 4 field configuration * @see ActiveField for details on Bootstrap 5 field configuration
*/ */
public string $layout = self::LAYOUT_DEFAULT; public string $layout = self::LAYOUT_DEFAULT;
/** /**

View File

@ -13,7 +13,7 @@ use Yii;
use yii\helpers\ArrayHelper; use yii\helpers\ArrayHelper;
/** /**
* Breadcrumbs represents a bootstrap 4 version of [[\yii\widgets\Breadcrumbs]]. It displays * Breadcrumbs represents a Bootstrap 5 version of [[\yii\widgets\Breadcrumbs]]. It displays
* a list of links indicating the position of the current page in the whole site hierarchy. * a list of links indicating the position of the current page in the whole site hierarchy.
* *
* To use Breadcrumbs, you need to configure its [[links]] property, which specifies the links to be displayed. For example, * To use Breadcrumbs, you need to configure its [[links]] property, which specifies the links to be displayed. For example,

View File

@ -9,7 +9,7 @@ use yii\data\Pagination;
use yii\helpers\ArrayHelper; use yii\helpers\ArrayHelper;
/** /**
* LinkPager represents a bootstrap 4 version of [[\yii\widgets\LinkPager]]. It displays a list of hyperlinks * LinkPager represents a Bootstrap 5 version of [[\yii\widgets\LinkPager]]. It displays a list of hyperlinks
* that lead to different pages of target. * that lead to different pages of target.
* *
* LinkPager works with a [[\yii\widget\Pagination]] object which specifies the total number * LinkPager works with a [[\yii\widget\Pagination]] object which specifies the total number

View File

@ -40,7 +40,7 @@ use Yii;
* ]); * ]);
* ``` * ```
* *
* Note: Multilevel dropdowns beyond Level 1 are not supported in Bootstrap 4. * Note: Multilevel dropdowns beyond Level 1 are not supported in Bootstrap 5.
* *
* @see https://getbootstrap.com/docs/5.0/components/navs/ * @see https://getbootstrap.com/docs/5.0/components/navs/
* @see https://getbootstrap.com/docs/5.0/components/dropdowns/ * @see https://getbootstrap.com/docs/5.0/components/dropdowns/