clear_assign($assign); return $content; } if (isset($column['cellFilters'])) { foreach ($column['cellFilters'] as $filter) { if (is_callable($filter)) { call_user_func_array($filter, array(&$column, &$data)); } } $smarty->assign('column', $column); $smarty->assign('row', $data); } if (is_array($params) && !empty($params)) { if (!Qs_Array::isAssoc($params)) { $params = array_flip($params); foreach ($params as $k => &$v) { $v = (array_key_exists($k, $data)) ? $data[$k] : null; } } else { foreach ($params as &$v) { $v = (array_key_exists($v, $data)) ? $data[$v] : null; } } } else { $params = array(); } $smarty->assign($assign, $params); return ''; }