diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-10-07 14:26:20 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-10-07 14:26:20 -0300 |
commit | 7cc74e2836e65871d674bb91394d4992546556b7 (patch) | |
tree | 8d5d8a25b6ad1f6ec402219c91941ced49609b1f /muamba.handlers.inc | |
parent | 5905f9ef83d7e5d50f1ce7c1b108a691c4e6cdfd (diff) | |
download | muamba-7cc74e2836e65871d674bb91394d4992546556b7.tar.gz muamba-7cc74e2836e65871d674bb91394d4992546556b7.tar.bz2 |
Fixing muamba status field handler
Diffstat (limited to 'muamba.handlers.inc')
-rw-r--r-- | muamba.handlers.inc | 15 |
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); + } +} |