Class Zend_Memory_Container_Locked

Description

Memory value container

Locked (always stored in memory).

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

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

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 44)

Value object

  • access: public
Methods
Constructor __construct (line 54)

Object constructor

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

Destroy memory container and remove it from memory manager list

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

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 80)

Return true if object is locked

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

Lock object in memory.

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

Signal, that value is updated by external code.

Should be used together with getRef()

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

Unlock object

  • access: public
void unlock ()

Documentation generated on Sun, 27 May 2007 23:25:29 -0700 by phpDocumentor 1.3.2