ObjectReadOnlyProxy

Extends ObjectProxy Implements ReadOnlyProxyInterface

Object read-only proxy class.

The class provides read-only feature for Object, including its children.

since

5.0.0

package

Joomla CMS

Methods

__construct

Class constructor

__construct( data) : 
inherited
since

5.0.0

Arguments

data

objectThe object for Proxy access

Response

mixed

__get

Implementing reading from object

__get( key) : 
since

5.0.0

Arguments

key

mixedThe key name to read

Response

mixed

__set

Implementing writing to object

__set( key,  value) : 
throws

RuntimeException

since

5.0.0

Arguments

key

mixedThe key name to write

value

mixedThe value to write

Response

void

current

Implementation of Iterator interface

current() : 
since

5.0.0

Response

mixed

key

Implementation of Iterator interface

key() : 
inherited
since

5.0.0

Response

mixed

next

Implementation of Iterator interface

next() : 
inherited
since

5.0.0

Response

void

rewind

Implementation of Iterator interface

rewind() : 
inherited
since

5.0.0

Response

void

valid

Implementation of Iterator interface

valid() : 
inherited
since

5.0.0

Response

bool

Properties

data

Data source

inherited
since

5.0.0

Type(s)

object

iterator

An iterator instance

inherited
since

5.0.0

Type(s)

ArrayIterator