src/Ease/SQL/PDO.php
public function addSlashes($text)
    {
        if (isset($this->sqlLink) && method_exists($this->sqlLink,
                'real_escape_string')) {
            $slashed = $this->sqlLink->real_escape_string($text);
        } else {
            $slashed = addslashes($text);
        }

        return $slashed;
    }
public function addSlashes($text)
    {
        if (isset($this->sqlLink) && method_exists($this->sqlLink,
                'real_escape_string')) {
            $slashed = $this->sqlLink->real_escape_string($text);
        } else {
            $slashed = addslashes($text);
        }

        return $slashed;
    }
Escapes special characters in a string for use in an SQL statement.

@param string $text

@return string