SilverCart\Admin\Forms\AlertDangerField
Dataless form field to display information alerts.
- Author: Sebastian Diel <sdiel@pixeltricks.de>
- Copyright: 2017 pixeltricks GmbH
- License: see license file in modules root directory
Synopsis
class AlertDangerField
extends AlertField
{
- // Inherited members from AlertField
- protected $alertTitle;
- protected string $alertType;
- protected $content;
- // methods
- public void __construct()
- // Inherited methods from AlertField
- public void __construct()
- public string getAlertTitle()
- public void setAlertTitle()
- public string getAlertType()
- public void setAlertType()
- public string getContent()
- public void setContent()
Hierarchy
Members
protected
- $alertTitle
—
string
Alert field title - $alertType
—
string
Alert type (info/warning/danger/success) - $content
—
string
Alert content
Methods
Inherited from SilverCart\Admin\Forms\AlertField
public
- getAlertTitle() — Returns the alert title.
- getAlertType() — Returns the alert type.
- getContent() — Returns the content.
- setAlertTitle() — Sets the alert title.
- setAlertType() — Sets the alert type.
- setContent() — Sets the content.