diff options
Diffstat (limited to 'lib/classes/MessageBox.class.php')
| -rw-r--r-- | lib/classes/MessageBox.class.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/classes/MessageBox.class.php b/lib/classes/MessageBox.class.php index c0d94b2..8936ebe 100644 --- a/lib/classes/MessageBox.class.php +++ b/lib/classes/MessageBox.class.php @@ -142,6 +142,15 @@ class MessageBox implements LayoutMessage } /** + * Return whether this messagebox can be closed or not. + * @return bool + */ + public function isCloseable(): bool + { + return $this->hide_close; + } + + /** * This method renders a MessageBox object to a string. * * @return string html output of the message box |
