public function reduce($array)
    {
        $tokens = array();

        foreach($array as $a){
            $tokens[] = $this->quote($this->escape($a));
        }

        return $tokens ? '('.implode(',', $tokens).')' : '(null)';
    }
public function reduce($array)
    {
        $tokens = array();

        foreach($array as $a){
            $tokens[] = $this->quote($this->escape($a));
        }

        return $tokens ? '('.implode(',', $tokens).')' : '(null)';
    }
public function reduce ( $ array ) { $ tokens = array ( ) ; foreach ( $ array as $ a ) { $ tokens [ ] = $ this -> quote ( $ this -> escape ( $ a ) ) ; } return $ tokens ? '(' . implode ( ',' , $ tokens ) . ')' : '(null)' ; }
Reduces an array of values into a bracketed, quoted, comma delimited list
@return string
Reduces an array of values into a bracketed quoted comma delimited list