aboutsummaryrefslogtreecommitdiff
path: root/muamba.handlers.inc
diff options
context:
space:
mode:
Diffstat (limited to 'muamba.handlers.inc')
-rw-r--r--muamba.handlers.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/muamba.handlers.inc b/muamba.handlers.inc
new file mode 100644
index 0000000..2f5d9a7
--- /dev/null
+++ b/muamba.handlers.inc
@@ -0,0 +1,15 @@
+<?php
+
+/**
+ * @file
+ * Contains the muamba transaction status views field handler.
+ */
+
+class views_handler_field_muamba_status extends views_handler_field {
+ /**
+ * Renders the field.
+ */
+ function render($values) {
+ return muamba_statuses($values->muamba_status);
+ }
+}