(PECL sam >= 0.1.0)
Cancels (rolls back) an in-flight unit of work.
bool SAMConnection::rollback ( void )
Rolls back an in-flight unit of work.
Returns:
This method returns FALSE if an error occurs.
Examples:
Cancelling an in-flight unit of work
<?php
if (!$conn->rollback()) {
// The rollback failed!
echo "Rollback failed ($conn->errno) $conn->error";
}
?>
See also:
Please login to continue.