diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/helpers/CinisisDisplayHelper.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/classes/helpers/CinisisDisplayHelper.php b/classes/helpers/CinisisDisplayHelper.php index 4988c3e..325595d 100644 --- a/classes/helpers/CinisisDisplayHelper.php +++ b/classes/helpers/CinisisDisplayHelper.php @@ -191,4 +191,14 @@ class CinisisDisplayHelper { static function h3($text) { echo "<br />"; } + + /** + * Draws a pre format block element. + * + * @param $text + * Inner text. + */ + static function pre($text) { + echo "<pre>$text</pre>"; + } } |