lib/Doctrine/DBAL/Platforms/AbstractPlatform.php
public function quoteStringLiteral($str)
    {
        $c = $this->getStringLiteralQuoteCharacter();

        return $c . str_replace($c, $c . $c, $str) . $c;
    }
public function quoteStringLiteral($str)
    {
        $c = $this->getStringLiteralQuoteCharacter();

        return $c . str_replace($c, $c . $c, $str) . $c;
    }
public function quoteStringLiteral ( $ str ) { $ c = $ this -> getStringLiteralQuoteCharacter ( ) ; return $ c . str_replace ( $ c , $ c . $ c , $ str ) . $ c ; }
Quotes a literal string.
This method is NOT meant to fix SQL injections!
It is only meant to escape this platform's string literal
quote character inside the given literal string.

@param string $str The literal string to be quoted.

@return string The quoted literal string.
Quotes a literal string . This method is NOT meant to fix SQL injections! It is only meant to escape this platform s string literal quote character inside the given literal string .