k2hpx_transaction
Changes transaction settings
Description
bool k2hpx_transaction ( mixed $handle_res , bool $enable [, stringnull $transfile [, stringnull $prefix [, stringnull $param [, int $expire ]]]] )
Changes transaction settings.
Parameters
- handle_res
Specifies the k2hash (.k2h
) file handle that k2hpx_open returns. - enable
Specifies true to enable transaction, otherwise false. - 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::transaction - Changes transaction settings