diff options
| author | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2021-07-22 16:07:19 +0200 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2021-07-22 16:19:12 +0200 |
| commit | a3da1483a9e689846179159355badfec8073dbec (patch) | |
| tree | 770dcca6bdf5f6f2a11b0e7fcbbeda6919a3fc52 /lib/classes/LayoutMessage.interface.php | |
current code from svn, revision 62608
Diffstat (limited to 'lib/classes/LayoutMessage.interface.php')
| -rw-r--r-- | lib/classes/LayoutMessage.interface.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/classes/LayoutMessage.interface.php b/lib/classes/LayoutMessage.interface.php new file mode 100644 index 0000000..7072788 --- /dev/null +++ b/lib/classes/LayoutMessage.interface.php @@ -0,0 +1,18 @@ +<?php +/** + * Generic interface for messages that may be displayed in Stud.IP at the + * top of the layout's content. + * + * @author Jan-Hendrik Willms <tleilax+studip@gmail.com> + * @license GPL2 or any later version + * @since Stud.IP 4.2 + */ +interface LayoutMessage +{ + /** + * Renders the message as html. + * + * @return string + */ + public function __toString(); +} |
