PHP Class common\widgets\Alert

Inheritance: extends yii\bootstrap\Widget
Mostra file Open project: yeesoft/yii2-yee-cms Class Usage Examples

Public Properties

Property Type Description
$alertTypes the alert types configuration for the flash messages. This array is setup as $key => $value, where: - $key is the name of the session flash variable - $value is the bootstrap alert type (i.e. danger, success, info, warning)
$closeButton the options for rendering the close button tag.

Public Methods

Method Description
init ( )

Method Details

init() public method

public init ( )

Property Details

$alertTypes public_oe property

the alert types configuration for the flash messages. This array is setup as $key => $value, where: - $key is the name of the session flash variable - $value is the bootstrap alert type (i.e. danger, success, info, warning)
public $alertTypes

$closeButton public_oe property

the options for rendering the close button tag.
public $closeButton