changed bs4 to bs5 in doc comments
This commit is contained in:
parent
28d4de1286
commit
2e885dd544
@ -7,9 +7,9 @@ namespace yii\bootstrap5;
|
||||
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:
|
||||
*
|
||||
* ```php
|
||||
@ -91,7 +91,7 @@ class ActiveForm extends \yii\widgets\ActiveForm
|
||||
* 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
|
||||
* 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;
|
||||
/**
|
||||
|
@ -13,7 +13,7 @@ use Yii;
|
||||
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.
|
||||
*
|
||||
* To use Breadcrumbs, you need to configure its [[links]] property, which specifies the links to be displayed. For example,
|
||||
|
@ -9,7 +9,7 @@ use yii\data\Pagination;
|
||||
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.
|
||||
*
|
||||
* LinkPager works with a [[\yii\widget\Pagination]] object which specifies the total number
|
||||
|
@ -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/dropdowns/
|
||||
|
Loading…
Reference in New Issue
Block a user