Memory/Container/Movable.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Memory
- Version
- $Id$
\Zend_Memory_Container_Movable
Package: Zend_Memory

Returns
Throws


Memory value container
Movable (may be swapped with specified backend and unloaded).
- Parent(s)
- \Zend_Memory_Container
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Constants
Properties
Methods


__construct(\Zend_Memory_Manager $memoryManager, integer $id, string $value) : void
Object constructor
Parameters
Name | Type | Description |
---|---|---|
$memoryManager | \Zend_Memory_Manager | |
$id | integer | |
$value | string |


__get(string $property) : string
Get handler
Loads object if necessary and moves it to the top of loaded objects list.
Swaps objects from the bottom of loaded objects list, if necessary.
ParametersName | Type | Description |
---|---|---|
$property | string |
Type | Description |
---|---|
string |
Exception | Description |
---|---|
\Zend_Memory_Exception |


__set(string $property, string $value) : void
Set handler
Parameters
Throws
Name | Type | Description |
---|---|---|
$property | string | |
$value | string |
Exception | Description |
---|---|
\Zend_Exception |


getRef() : \&string
Get string value reference
_Must_ be used for value access before PHP v 5.2
or _may_ be used for performance considerations
ReturnsType | Description |
---|---|
\&string |