aboutsummaryrefslogtreecommitdiff
path: root/muamba.handlers.inc
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-10-07 14:26:20 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-10-07 14:26:20 -0300
commit7cc74e2836e65871d674bb91394d4992546556b7 (patch)
tree8d5d8a25b6ad1f6ec402219c91941ced49609b1f /muamba.handlers.inc
parent5905f9ef83d7e5d50f1ce7c1b108a691c4e6cdfd (diff)
downloadmuamba-7cc74e2836e65871d674bb91394d4992546556b7.tar.gz
muamba-7cc74e2836e65871d674bb91394d4992546556b7.tar.bz2
Fixing muamba status field handler
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);
+ }
+}