bootstrap\Alert renderBodyBegin()

renderBodyBegin() protected method Renders the close button if any before rendering the content. protected string renderBodyBegin ( )return string The rendering result

bootstrap\Alert initOptions()

initOptions() protected method Initializes the widget options. This method sets the default values for various options. protected void initOptions ( )

bootstrap\Alert init()

init() public method Initializes the widget. public void init ( )

bootstrap\Alert $closeButton

$closeButton public property The options for rendering the close button tag. The close button is displayed in the header of the modal window. Clicking on the button will hide the modal window. If this is false, no close button will be rendered. The following special options are supported: tag: string, the tag name of the button. Defaults to 'button'. label: string, the label of the button. Defaults to '×'. The rest of the options will be rendered as the HTML attributes of the button tag. Pl

bootstrap\Alert $body

$body public property The body content in the alert component. Note that anything between the begin() and end() calls of the Alert widget will also be treated as the body content, and will be rendered before this. public string $body = null

bootstrap\ActiveForm init()

init() public method Initializes the widget. This renders the form open tag. public void init ( )

bootstrap\ActiveForm field()

field() public method Generates a form field. A form field is associated with a model and an attribute. It contains a label, an input and an error message and use them to interact with end users to collect their inputs for the attribute. public yii\bootstrap\ActiveField field ( $model, $attribute, $options = [] )$model yii\base\Model The data model. $attribute string The attribute name or expression. See yii\bootstrap\Html::getAttributeName() for the format about attribute expression.

bootstrap\ActiveForm $options

$options public property HTML attributes for the form tag. Default is ['role' => 'form']. public array $options = ['role' => 'form']

bootstrap\ActiveForm $layout

$layout public property The form layout. Either 'default', 'horizontal' or 'inline'. 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 also yii\bootstrap\ActiveField for details on Bootstrap 3 field configuration. public string $layout = 'default'

bootstrap\ActiveForm $fieldClass

$fieldClass public property The default field class name when calling field() to create a new field. See also $fieldConfig. public string $fieldClass = 'yii\bootstrap\ActiveField'