Packageindex Classtrees Modulegroups Elementlist Report XML Files

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 Summary

void

addLock(int $pbId, string $uniqId)

Adds a lock for a given PartBranchId.
mixed

getLock(int $pbId)

Gets unique-lock-id for a given PartBranchId, if present

Private Method Details

addLock

private void addLock( int $pbId, string $uniqId )

  Adds a lock for a given PartBranchId.

Parameter
int $pbId
string $uniqId
Returns void


getLock

private mixed getLock( int $pbId )

  Gets unique-lock-id for a given PartBranchId, if present

Parameter
int $pbId
Returns mixed $uniqId

the lock id, or false if not present



Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta