classes/Connection.php
public function quoteIdentifier($identifier)
    {
        $parts = explode(".", $identifier);
        if (count($parts) > 1) {
            return $this->quoteIdentifier($parts[0]) . '.' . $this->quoteIdentifier($parts[1]);
        }

        return '`' . str_replace('`', '``', $identifier) . '`';
    }
public function quoteIdentifier($identifier)
    {
        $parts = explode(".", $identifier);
        if (count($parts) > 1) {
            return $this->quoteIdentifier($parts[0]) . '.' . $this->quoteIdentifier($parts[1]);
        }

        return '`' . str_replace('`', '``', $identifier) . '`';
    }
public function quoteIdentifier ( $ identifier ) { $ parts = explode ( "." , $ identifier ) ; if ( count ( $ parts ) > 1 ) { return $ this -> quoteIdentifier ( $ parts [ 0 ] ) . '.' . $ this -> quoteIdentifier ( $ parts [ 1 ] ) ; } return '`' . str_replace ( '`' , '``' , $ identifier ) . '`' ; }
Quote an identifier for MySQL query usage

@param string $identifier
@return string
Quote an identifier for MySQL query usage