Detailed Description
Constructor & Destructor Documentation
| __construct |
( |
|
$input = array(), |
|
|
|
$flags = self::STD_PROP_LIST, |
|
|
|
$iteratorClass = 'ArrayIterator' |
|
) |
| |
Constructor
- Parameters
-
| array | $input | |
| int | $flags | |
| string | $iteratorClass | |
Reimplemented in MultiDimArrayObject.
Member Function Documentation
Returns the value at the specified key
- Parameters
-
- Returns
- mixed
Returns whether the requested key exists
- Parameters
-
- Returns
- bool
Sets the value at the specified key to value
- Parameters
-
- Returns
- void
Unsets the value at the specified key
- Parameters
-
- 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.
- Parameters
-
- Returns
- array
Reimplemented in MultiDimArrayObject.
Gets the behavior flags.
- Returns
- int
Create a new iterator from an ArrayObject instance
- Returns
Reimplemented in MultiDimArrayObject.
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
- Parameters
-
- Returns
- bool
Returns the value at the specified key
- Parameters
-
- Returns
- mixed
| offsetSet |
( |
|
$key, |
|
|
|
$value |
|
) |
| |
Unsets the value at the specified key
- Parameters
-
- Returns
- void
Reimplemented in SimpleCollection.
Serialize an ArrayObject
- Returns
- string
Sets the behavior flags
- Parameters
-
- Returns
- void
| setIteratorClass |
( |
|
$class | ) |
|
Sets the iterator classname for the ArrayObject
- Parameters
-
- Returns
- void
Sort the entries with a user-defined comparison function and maintain key association
- Parameters
-
- Returns
- void
Sort the entries by keys using a user-defined comparison function
- Parameters
-
- Returns
- void
Unserialize an ArrayObject
- Parameters
-
- Returns
- void
Field Documentation
Entries can be accessed as properties (read and write).
Properties of the object have their normal functionality when accessed as list (var_dump, foreach, etc.).
The documentation for this class was generated from the following file: