protected function __construct($object, $recursive_wrapping = false, $detail_level = self::DETAIL_LEVEL_REGULAR, $recursion_depth = 0, $detail_policy_velocity = -1) { if ($object == null || $detail_level <= 0) { return $this; } if (self::$s_cache == null) { self::$s_cache = new myObjectCache(); } $this->m_obj = $object; $this->m_is_array = is_array($object); $this->m_recursive_wrapping = $recursive_wrapping; $this->detail_level = $detail_level; $this->recursion_depth = $recursion_depth; $this->detail_policy_velocity = $detail_policy_velocity; /* if ( $this->m_is_array ) { reset ( $this->m_obj ); }*/ }