Class Zend_Memory_Container_Locked

Description

Memory value container

Locked (always stored in memory).

  • copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Memory/Container/Locked.php (line 35)

Zend_Memory_Container
   |
   --Zend_Memory_Container_Locked
Variable Summary
 string $value
Method Summary
 Zend_Memory_Container_Locked __construct (string $value, Zend_Memory_Manager $memoryManager, integer $id)
 void destroy ()
 &string &getRef ()
 boolean isLocked ()
 void lock ()
 void touch ()
 void unlock ()
Variables
string $value (line 42)

Value object

  • access: public
Methods
Constructor __construct (line 52)

Object constructor

  • access: public
Zend_Memory_Container_Locked __construct (string $value, Zend_Memory_Manager $memoryManager, integer $id)
destroy (line 109)

Destroy memory container and remove it from memory manager list

  • access: public
void destroy ()
getRef (line 91)

Get string value reference

_Must_ be used for value access before PHP v 5.2 or _may_ be used for performance considerations

  • access: public
&string &getRef ()
isLocked (line 78)

Return true if object is locked

  • access: public
boolean isLocked ()
lock (line 60)

Lock object in memory.

  • access: public
void lock ()
touch (line 101)

Signal, that value is updated by external code.

Should be used together with getRef()

  • access: public
void touch ()
unlock (line 68)

Unlock object

  • access: public
void unlock ()

Documentation generated on Mon, 21 Jun 2010 15:31:51 -0400 by phpDocumentor 1.4.3