HW_GETANDLOCK(3) 1 HW_GETANDLOCK(3)
hw_GetAndLock - Return object record and lock object
SYNOPSIS
string hw_getandlock (int $connection, int $objectID)
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.
PARAMETERS
o $connection
- The connection identifier.
o $objectID
- The object identifier.
RETURN VALUES
Returns the object record for the object with ID $objectID.
SEE ALSO
hw_unlock(3), hw_getobject(3).
PHP Documentation Group HW_GETANDLOCK(3)