hw_GetAndLock()
hw_GetAndLock - Return object record and lock object
Syntax
string hw_GetAndLock (
int $connection,
int $objectID)
Arguments
- connection - The connection identifier.
- objectID - The object identifier.
Description
Returns the object record for the object with ID objectID. It will also lock the object, so other users cannot access it until it is unlocked.
Version
PHP 4
Return value
Returns the object record for the object with ID objectID.