aboutsummaryrefslogtreecommitdiff
path: root/classes/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'classes/helpers')
-rw-r--r--classes/helpers/CinisisDisplayHelper.php10
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>";
+ }
}