public function quote($text)
    {
        if ($con = $this->getConnection()) {
            return $con->quote($text);
        } else {
            return "'" . $this->disconnectedEscapeText($text) . "'";
        }
    }
public function quote($text)
    {
        if ($con = $this->getConnection()) {
            return $con->quote($text);
        } else {
            return "'" . $this->disconnectedEscapeText($text) . "'";
        }
    }
public function quote ( $ text ) { if ( $ con = $ this -> getConnection ( ) ) { return $ con -> quote ( $ text ) ; } else { return "'" . $ this -> disconnectedEscapeText ( $ text ) . "'" ; } }
Quote and escape needed characters in the string for underlying RDBMS.
@param  string $text
@return string
Quote and escape needed characters in the string for underlying RDBMS .