|
|
|
File: /home/schmitt/local-cvs/midgard-current/workflow/fordoc/PartLockRegistry.php
DataWorkFlow + DataflowVC -
PartLockRegistry
PartLockRegistry
Global registry for MgdPart locks. On $MgdPart->lock() a unique identifier is placed here and later read to determine if the current script is the locker.
|
private class PartLockRegistry
Global registry for MgdPart locks. On $MgdPart->lock() a unique identifier is placed here and later read to determine if the current script is the locker.
|
| |
|
|
|
Private Method Details |
addLock |
|
private void addLock( int $pbId, string $uniqId )
|
| |
Adds a lock for a given PartBranchId.
|
| Parameter |
|
|
|
|
| Returns |
void |
|
getLock |
|
private mixed getLock( int $pbId )
|
| |
Gets unique-lock-id for a given PartBranchId, if present
|
| Parameter |
|
|
| Returns |
mixed $uniqId the lock id, or false if not present |
|
|
|
|
|
| PHPDoc 1.0beta |