k2hpx_enable_transaction
Starts a transaction
Description
bool k2hpx_enable_transaction ( mixed $handle_res [, stringnull $transfile [, stringnull $prefix [, stringnull $param [, int $expire ]]]] )
Starts a transaction.
Parameters
- handle_res
Specifies the k2h file handle that k2hpx_open returns. - transfile
Specifies the transaction log file path. - prefix
Specifies the prefix of transaction log entry. - param
Specifies the parameter string to pass to a transaction processing handler. - expire
Specifies the duration in second to expire a transaction log entry.
Return Values
Returns true on success or false on failure.
See Also
- K2hash::enableTransaction - Starts a transaction