K2hash::disableTransaction
Stops a transaction
Description
public bool K2hash::disableTransaction ( void )
Stops a transaction.
Parameters
This function has no parameters.
Return Values
Returns true on success or false on failure.
Examples
- Example 1 - Stops a transaction
<?php
$k2hash = new K2hash();
$k2hash->openMem();
var_dump($k2hash->disableTransaction());
$k2hash->close();
?>
The above example will output:
bool(true)
See Also
- K2hash::enableTransaction - Starts a transaction