Fixed constants: RDB_RECDBL -> RDBREC_DBL, et al.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305906 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Daniel P. Brown 2010-12-02 14:19:33 +00:00
parent f98db0ac3f
commit ef0ef7d6d4

View file

@ -46,7 +46,7 @@
<term><parameter>type</parameter></term>
<listitem>
<para>
<constant>TokyoTyrant::RDB_RECINT</constant> or <constant>TokyoTyrant::RDB_RECDBL</constant> constant.
<constant>TokyoTyrant::RDBREC_INT</constant> or <constant>TokyoTyrant::RDBREC_DBL</constant> constant.
If this parameter is omitted the type is guessed from the <parameter>increment</parameter>
parameters type.
</para>
@ -76,7 +76,7 @@ $tt = new TokyoTyrant("localhost", TokyoTyrant::RDBDEF_PORT);
$tt->add("test", 3);
/* String value is converted to double */
echo $tt->add("test", "3.5", TokyoTyrant::RDB_RECDBL);
echo $tt->add("test", "3.5", TokyoTyrant::RDBREC_DBL);
?>
]]>
</programlisting>