public function formatResult(&$row, $key, $result) { $row[$key . '_res'] = $result; return (string) $result; }