irm-1.6-b3/MDB/Common.php
/**
     * Quotes a string so it can be safely used in a query. It will quote
     * the text so it can safely be used within a query.
     *
     * @param string $text the input string to quote
     * @return string quoted string
     * @access private
     */
Quotes a string so it can be safely used in a query. It will quote
the text so it can safely be used within a query.

@param string $text the input string to quote
@return string quoted string
@access private
Quotes a string so it can be safely used in a query . It will quote the text so it can safely be used within a query . @param string $text the input string to quote @return string quoted string @access private
function _quote($text)
    {
        if (strcmp($this->escape_quotes, "'")) {
            $text = str_replace($this->escape_quotes, $this->escape_quotes . $this->escape_quotes, $text);
        }
        return str_replace("'", $this->escape_quotes . "'", $text);
    }
function _quote ( $ text ) { if ( strcmp ( $ this -> escape_quotes , " ' " ) ) { $ text = str_replace ( $ this -> escape_quotes , $ this -> escape_quotes . $ this -> escape_quotes , $ text ) ; } return str_replace ( " ' " , $ this -> escape_quotes . " ' " , $ text ) ; }
Quotes a string so it can be safely used in a query.
Quotes a string so it can be safely used in a query .