public function bracketList($row, $quote = "'") {
        switch ($quote) {
            case "'":
                $row = array_map([$this->pdo(), 'quote'], $row);
                $quote = '';
                break;
            case '`':
                $row = array_map([$this, 'backtick'], $row);
                $quote = '';
                break;
        }

        return "($quote".implode("$quote, $quote", $row)."$quote)";
    }
public function bracketList($row, $quote = "'") {
        switch ($quote) {
            case "'":
                $row = array_map([$this->pdo(), 'quote'], $row);
                $quote = '';
                break;
            case '`':
                $row = array_map([$this, 'backtick'], $row);
                $quote = '';
                break;
        }

        return "($quote".implode("$quote, $quote", $row)."$quote)";
    }
public function bracketList ( $ row , $ quote = "'" ) { switch ( $ quote ) { case "'" : $ row = array_map ( [ $ this -> pdo ( ) , 'quote' ] , $ row ) ; $ quote = '' ; break ; case '`' : $ row = array_map ( [ $ this , 'backtick' ] , $ row ) ; $ quote = '' ; break ; } return "($quote" . implode ( "$quote, $quote" , $ row ) . "$quote)" ; }
Convert an array into a bracketed list suitable for MySQL clauses.

@param array $row The row to expand.
@param string $quote The quotes to surroud the items with. There are two special cases.
' (single quote)
: The row will be passed through {@link PDO::quote()}.
` (backticks)
: The row will be passed through {@link MySqlDb::backtick()}.
@return string Returns the bracket list.
Convert an array into a bracketed list suitable for MySQL clauses .