private function needsQuoting($target)
    {
        $isSqlFunction = strpos($target, '(') !== false || strpos($target, ')') !== false;
        $isColumn = strpos($target, '.') !== false;
        $hasQuotes = strpos($target, '`') !== false; // Whether already has quotes

        return !(is_numeric($target) || $isColumn || $isSqlFunction || $hasQuotes);
    }
private function needsQuoting($target)
    {
        $isSqlFunction = strpos($target, '(') !== false || strpos($target, ')') !== false;
        $isColumn = strpos($target, '.') !== false;
        $hasQuotes = strpos($target, '`') !== false; // Whether already has quotes

        return !(is_numeric($target) || $isColumn || $isSqlFunction || $hasQuotes);
    }
private function needsQuoting ( $ target ) { $ isSqlFunction = strpos ( $ target , '(' ) !== false || strpos ( $ target , ')' ) !== false ; $ isColumn = strpos ( $ target , '.' ) !== false ; $ hasQuotes = strpos ( $ target , '`' ) !== false ; // Whether already has quotes return ! ( is_numeric ( $ target ) || $ isColumn || $ isSqlFunction || $ hasQuotes ) ; }
Checks whether it's worth applying a wrapper for a target

@param string $target
@return boolean
Checks whether it s worth applying a wrapper for a target