+ if (isset($col['fun'])) { // use data input function if defined
+ $fun = $col['fun'];
+ if (method_exists($pager, $fun)) {
+ $cell = $pager->$fun($row, $cell);
+ } elseif (function_exists($fun)) {
+ $cell = $fun($row, $cell);
+ } else
+ $cell = '';
+ }
+
+ switch($coltype) { // format column