\StatusMessage
Synopsis
class StatusMessage
extends ViewableData
{
- // members
- protected string $Title = "";
- protected string $Type = "";
- protected string $Content = "";
- protected string $TimeOut = "";
- protected string $ExtendedTimeOut = "";
- protected array $extraClasses = ;
- protected array $attributes = ;
- // methods
- public static void info()
- public static void warning()
- public static void success()
- public static void danger()
- public static void loading()
- public void __construct()
- public void getTitle()
- public void getType()
- public void getTypeForForm()
- public void getContent()
- public void getContentForForm()
- public StatusMessage addToForm()
- public void getTimeOut()
- public void getExtendedTimeOut()
- public void setTitle()
- public void setType()
- public void setContent()
- public void setTimeOut()
- public void setExtendedTimeOut()
- public void forTemplate()
- public void jsonSerialize()
- public string extraClass()
- public void addExtraClass()
- public void removeExtraClass()
- public String getAttributesHTML()
- public void setAttribute()
- public String getAttribute()
- public void getAttributes()
- public static void AddIncludes()
Hierarchy
Extends
- ViewableData
Members
protected
- $Content
- $ExtendedTimeOut
- $TimeOut
- $Title
- $Type
- $attributes — array
- $extraClasses
Methods
public
- __construct()
- AddIncludes()
- addExtraClass() — Add a CSS-class to the form-container. If needed, multiple classes can be added by delimiting a string with spaces.
- addToForm()
- danger()
- extraClass() — Compiles all CSS-classes.
- forTemplate()
- getAttribute()
- getAttributes()
- getAttributesHTML() — Return the attributes of the form tag - used by the templates.
- getContent()
- getContentForForm()
- getExtendedTimeOut()
- getTimeOut()
- getTitle()
- getType()
- getTypeForForm()
- info()
- jsonSerialize()
- loading()
- removeExtraClass() — Remove a CSS-class from the form-container. Multiple class names can be passed through as a space delimited string
- setAttribute()
- setContent()
- setExtendedTimeOut()
- setTimeOut()
- setTitle()
- setType()
- success()
- warning()