diff -r 5b37998e522e -r 162c1de6545a web/lib/Zend/Memory/Container/Locked.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/lib/Zend/Memory/Container/Locked.php Fri Mar 11 15:05:35 2011 +0100 @@ -0,0 +1,113 @@ +value = $value; + } + + /** + * Lock object in memory. + */ + public function lock() + { + /* Do nothing */ + } + + /** + * Unlock object + */ + public function unlock() + { + /* Do nothing */ + } + + /** + * Return true if object is locked + * + * @return boolean + */ + public function isLocked() + { + return true; + } + + /** + * Get string value reference + * + * _Must_ be used for value access before PHP v 5.2 + * or _may_ be used for performance considerations + * + * @return &string + */ + public function &getRef() + { + return $this->value; + } + + /** + * Signal, that value is updated by external code. + * + * Should be used together with getRef() + */ + public function touch() + { + /* Do nothing */ + } + + /** + * Destroy memory container and remove it from memory manager list + */ + public function destroy() + { + /* Do nothing */ + } +}