PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

hw_GetAndLock

(PHP 4)

hw_GetAndLockReturn object record and lock object

Description

string hw_getandlock ( int $connection , int $objectID )

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

connection

The connection identifier.

objectID

The object identifier.

Return Values

Returns the object record for the object with ID objectID.

See Also

PHP Manual