Extbase\Reflection

Class Tx_Extbase_Reflection_ObjectAccess


public class Tx_Extbase_Reflection_ObjectAccess

Provides methods to call appropriate getter/setter on an object given the property name. It does this following these rules:
- if the target object is an instance of ArrayAccess, it gets/sets the property - if public getter/setter method exists, call it.
- if public property exists, return/set the value of it.
- else, throw exception

Package: Extbase
Subpackage: Reflection
Version: $Id: ObjectAccess.php 1052 2009-08-05 21:51:32Z sebastian $