ArrayReadOnlyProxy
Extends ArrayProxy Implements ReadOnlyProxyInterfaceArray read-only proxy class.
The class provides read-only feature for Array, including its children.
| since |
5.0.0 |
|---|---|
| package |
Joomla CMS |
Methods
__construct
Class constructor
__construct(mixed||string|int &data) :
| since |
5.0.0 |
|---|
Arguments
- data
array<string|int, mixed>The array for Proxy access
Response
mixed
count
Implementation of Countable interface
count() :
| since |
5.0.0 |
|---|
Response
int
current
Implementation of Iterator interface
current() :
| since |
5.0.0 |
|---|
Response
mixed
key
Implementation of Iterator interface
key() :
| since |
5.0.0 |
|---|
Response
mixed
next
Implementation of Iterator interface
next() :
| since |
5.0.0 |
|---|
Response
void
offsetExists
Implementation of ArrayAccess interface
offsetExists( offset) :
| since |
5.0.0 |
|---|
Arguments
- offset
mixedThe key to check
Response
bool
offsetGet
Implementation of ArrayAccess interface
offsetGet( offset) :
| since |
5.0.0 |
|---|
Arguments
- offset
mixedThe key to get
Response
mixed
offsetSet
Implementation of ArrayAccess interface
offsetSet( offset, value) :
| throws |
|
|---|---|
| since |
5.0.0 |
Arguments
- offset
mixedThe key to set- value
mixedThe value to set
Response
void
offsetUnset
Implementation of ArrayAccess interface
offsetUnset( offset) :
| since |
5.0.0 |
|---|
Arguments
- offset
mixedThe key to remove
Response
void
rewind
Implementation of Iterator interface
rewind() :
| since |
5.0.0 |
|---|
Response
void
valid
Implementation of Iterator interface
valid() :
| since |
5.0.0 |
|---|
Response
bool
Properties
data
Data source
| since |
5.0.0 |
|---|
Type(s)
array<string|int, mixed>