protected function escapeFunction($function)
    {
        $buffer = $function->name() . '(';

        $arguments = $function->arguments();

        foreach($arguments as &$argument)
        {
            $argument = $this->escape($argument);
        }

        return $buffer . implode(', ', $arguments) . ')';
    }
protected function escapeFunction($function)
    {
        $buffer = $function->name() . '(';

        $arguments = $function->arguments();

        foreach($arguments as &$argument)
        {
            $argument = $this->escape($argument);
        }

        return $buffer . implode(', ', $arguments) . ')';
    }
protected function escapeFunction ( $ function ) { $ buffer = $ function -> name ( ) . '(' ; $ arguments = $ function -> arguments ( ) ; foreach ( $ arguments as & $ argument ) { $ argument = $ this -> escape ( $ argument ) ; } return $ buffer . implode ( ', ' , $ arguments ) . ')' ; }
Escapes an sql function object

@param Func              $function
@return string
Escapes an sql function object