
Public Member Functions | |
| lock () | |
| unlock () | |
Public Attributes | |
| $lockfile | |
| string The file which is used to lock the data against access   | |
Definition at line 3 of file shared-lockableclass.php.
| lockableClass::lock | ( | ) | 
Lock the class' file access
if( $this->lock() ) { Reload the class' data to really be on the safe side $this->load(); Do some processing... $this->save(); Remember to unlock before continuing $this->unlock(); }
Definition at line 23 of file shared-lockableclass.php.
References $i.
Referenced by Convention::calculateAverage(), Convention::Convention(), discussForum::discussForum(), discussThread::discussThread(), subscriptionsManager::handle(), Convention::handleRegistration(), discussForum::loadThreads(), subscriptionsManager::removeGlobalID(), subscriptionsManager::renameGlobalID(), discussThread::render(), Convention::renderEditor(), blogger_entry::renderEditor(), blogger_entry::renderFull(), discussForum::renderNewThread(), subscriptionsManager::subscribe(), subscriptionsManager::unsubscribe(), and subscriptionsManager::unsubscribeAll().
| lockableClass::unlock | ( | ) | 
Unlock the class' file access
Definition at line 47 of file shared-lockableclass.php.
Referenced by Convention::calculateAverage(), Convention::Convention(), discussForum::discussForum(), discussThread::discussThread(), subscriptionsManager::handle(), Convention::handleRegistration(), discussForum::loadThreads(), subscriptionsManager::removeGlobalID(), subscriptionsManager::renameGlobalID(), discussThread::render(), Convention::renderEditor(), blogger_entry::renderEditor(), blogger_entry::renderFull(), discussForum::renderNewThread(), subscriptionsManager::subscribe(), subscriptionsManager::unsubscribe(), and subscriptionsManager::unsubscribeAll().
| lockableClass::$lockfile | 
string The file which is used to lock the data against access
Definition at line 5 of file shared-lockableclass.php.
 1.5.5