| Fully Qualified Name: | Zend\Stdlib\ArrayObject |
| Implements: | IteratorAggregate, ArrayAccess, Serializable, Countable |
Custom framework ArrayObject implementation
Extends version-specific "abstract" implementation.
| Name | Description | Defined By |
|---|---|---|
| __construct() | Constructor | ArrayObject |
| __get() | Returns the value at the specified key by reference | ArrayObject |
| __isset() | Returns whether the requested key exists | ArrayObject |
| __set() | Sets the value at the specified key to value | ArrayObject |
| __unset() | Unsets the value at the specified key | ArrayObject |
| append() | Appends the value | ArrayObject |
| asort() | Sort the entries by value | ArrayObject |
| count() | Get the number of public properties in the ArrayObject | ArrayObject |
| exchangeArray() | Exchange the array for another one. | ArrayObject |
| getArrayCopy() | Creates a copy of the ArrayObject. | ArrayObject |
| getFlags() | Gets the behavior flags. | ArrayObject |
| getIterator() | Create a new iterator from an ArrayObject instance | ArrayObject |
| getIteratorClass() | Gets the iterator classname for the ArrayObject. | ArrayObject |
| ksort() | Sort the entries by key | ArrayObject |
| natcasesort() | Sort an array using a case insensitive "natural order" algorithm | ArrayObject |
| natsort() | Sort entries using a "natural order" algorithm | ArrayObject |
| offsetExists() | Returns whether the requested key exists | ArrayObject |
| offsetGet() | Returns the value at the specified key | ArrayObject |
| offsetSet() | Sets the value at the specified key to value | ArrayObject |
| offsetUnset() | Unsets the value at the specified key | ArrayObject |
| serialize() | Serialize an ArrayObject | ArrayObject |
| setFlags() | Sets the behavior flags | ArrayObject |
| setIteratorClass() | Sets the iterator classname for the ArrayObject | ArrayObject |
| uasort() | Sort the entries with a user-defined comparison function and maintain key association | ArrayObject |
| uksort() | Sort the entries by keys using a user-defined comparison function | ArrayObject |
| unserialize() | Unserialize an ArrayObject | ArrayObject |
Constructor
| Parameter Name | Type | Description |
|---|---|---|
| $input | array | |
| $flags | int | |
| $iteratorClass | string |
Returns:
Returns the value at the specified key by reference
| Parameter Name | Type | Description |
|---|---|---|
| $key | mixed |
Returns: mixed
Returns whether the requested key exists
| Parameter Name | Type | Description |
|---|---|---|
| $key | mixed |
Returns: bool
Sets the value at the specified key to value
| Parameter Name | Type | Description |
|---|---|---|
| $key | mixed | |
| $value | mixed |
Returns: void
Unsets the value at the specified key
| Parameter Name | Type | Description |
|---|---|---|
| $key | mixed |
Returns: void
Appends the value
| Parameter Name | Type | Description |
|---|---|---|
| $value | mixed |
Returns: void
Sort the entries by value
Returns: void
Get the number of public properties in the ArrayObject
Returns: int
Exchange the array for another one.
| Parameter Name | Type | Description |
|---|---|---|
| $data | array|\ArrayObject |
Returns: array
Creates a copy of the ArrayObject.
Returns: array
Gets the behavior flags.
Returns: int
Create a new iterator from an ArrayObject instance
Returns: \Iterator
Gets the iterator classname for the ArrayObject.
Returns: string
Sort the entries by key
Returns: void
Sort an array using a case insensitive "natural order" algorithm
Returns: void
Sort entries using a "natural order" algorithm
Returns: void
Returns whether the requested key exists
| Parameter Name | Type | Description |
|---|---|---|
| $key | mixed |
Returns: bool
Returns the value at the specified key
| Parameter Name | Type | Description |
|---|---|---|
| $key | mixed |
Returns: mixed
Sets the value at the specified key to value
| Parameter Name | Type | Description |
|---|---|---|
| $key | mixed | |
| $value | mixed |
Returns: void
Unsets the value at the specified key
| Parameter Name | Type | Description |
|---|---|---|
| $key | mixed |
Returns: void
Serialize an ArrayObject
Returns: string
Sets the behavior flags
| Parameter Name | Type | Description |
|---|---|---|
| $flags | int |
Returns: void
Sets the iterator classname for the ArrayObject
| Parameter Name | Type | Description |
|---|---|---|
| $class | string |
Returns: void
Sort the entries with a user-defined comparison function and maintain key association
| Parameter Name | Type | Description |
|---|---|---|
| $function | callable |
Returns: void
Sort the entries by keys using a user-defined comparison function
| Parameter Name | Type | Description |
|---|---|---|
| $function | callable |
Returns: void
Unserialize an ArrayObject
| Parameter Name | Type | Description |
|---|---|---|
| $data | string |
Returns: void