Public Member Functions | |
| setTimeout ($timeout) | |
| lock ($id, $waitForTimeout=true) | |
| unlock ($id) | |
| __destruct () | |
Definition at line 15 of file lockutility.php.
| __destruct | ( | ) |
Definition at line 103 of file lockutility.php.
| lock | ( | $ | id, | |
| $ | waitForTimeout = true | |||
| ) |
Lock a user id
| int | $id, id of the user to lock. | |
| bool | $waitForTimeout, wait for time out |
Definition at line 44 of file lockutility.php.
References kataMakeTmpPath().

| setTimeout | ( | $ | timeout | ) |
| integer | $timout how many seconds to wait for a lock before we fail |
Definition at line 29 of file lockutility.php.
| unlock | ( | $ | id | ) |
Unlock a user id
| int | $id, id of the user to lock |
Definition at line 82 of file lockutility.php.
1.5.8