Memory/AccessController.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 [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Memory
- Version
- $Id: AccessController.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Memory_AccessController
Memory object container access controller.
Memory manager stores a list of generated objects to control them. So container objects always have at least one reference and can't be automatically destroyed.
This class is intended to be an userland proxy to memory container object. It's not referenced by memory manager and class destructor is invoked immidiately after gouing out of scope or unset operation.
Class also provides Zend_Memory_Container_Interface interface and works as proxy for such cases.
- Implements
- \Zend_Memory_Container_Interface
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods


__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.
Name | Type | Description |
---|---|---|
$property | string |
Type | Description |
---|---|
string |
Exception | Description |
---|---|
\Zend_Memory_Exception |


__set(string $property, string $value) : void
Set handler
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
Type | Description |
---|---|
\string |