(string) $value,
$matches)) { $quotedValue =
$matches[1
];
} break;
case Zend_Db::FLOAT_TYPE: // float or decimal
$quotedValue =
sprintf('%F',
$value);
} return $quotedValue;
} return $this->
_quote($value);
} /**
* Quotes a value and places into a piece of text at a placeholder.
*
* The placeholder is a question-mark; all placeholders will be replaced
* with the quoted value. For example:
*
* <code>
* $text = "WHERE date < ?";
* $date = "2005-01-02";
* $safe = $sql->quoteInto($text, $date);
* // $safe = "WHERE date < '2005-01-02'"
* </code>
*
* @param string $text the text with a placeholder
* @param mixed $value the value to quote
* @param string $type OPTIONAL SQL datatype
* @param int $count OPTIONAL count of placeholders to replace
*
* @return string an SQL-safe quoted value placed into the original text
*/