XRL
2.0.0
Simple XML-RPC Library (both client and server)
|
Interface to provide accessing objects as arrays. More...
Public Member Functions | |
offsetExists ($offset) | |
offsetGet ($offset) | |
offsetSet ($offset, $value) | |
offsetUnset ($offset) | |
Interface to provide accessing objects as arrays.
Definition at line 10 of file ArrayAccess.php.
ArrayAccess::offsetExists | ( | $offset | ) |
Whether or not an offset exists.
This method is executed when using isset() or empty() on objects implementing ArrayAccess.
mixed | $offset | An offset to check for. |
bool | true is returned when the offset exists, false when it doesn't. |
true
. Implemented in fpoirotte\XRL\Server, and fpoirotte\XRL\Types\AbstractCollection.
ArrayAccess::offsetGet | ( | $offset | ) |
Returns the value at specified offset.
This method is executed when checking if offset is empty().
mixed | $offset | The offset to retrieve. |
mixed | Value at the specified offset. |
Implemented in fpoirotte\XRL\Server, and fpoirotte\XRL\Types\AbstractCollection.
ArrayAccess::offsetSet | ( | $offset, | |
$value | |||
) |
Assigns a value to the specified offset.
mixed | $offset | The offset to assign the value to. |
mixed | $value | The value to set. |
Implemented in fpoirotte\XRL\Server, fpoirotte\XRL\Types\ArrayType, and fpoirotte\XRL\Types\Struct.
ArrayAccess::offsetUnset | ( | $offset | ) |
Unsets an offset.
mixed | $offset | The offset to unset. |
(unset). Implemented in fpoirotte\XRL\Server, fpoirotte\XRL\Types\ArrayType, and fpoirotte\XRL\Types\Struct.