|
Erebot
latest
A modular IRC bot for PHP 5.3+
|
Abstract class that serves as a base to create a numeric profile for an IRCd server. More...
Inheritance diagram for Erebot\NumericProfile\Base:Public Member Functions | |
| __construct () | |
| Constructs a new instance of this numeric profile. | |
| offsetExists ($offset) | |
| offsetGet ($offset) | |
| offsetSet ($offset, $value) | |
| offsetUnset ($offset) | |
Protected Attributes | |
| $reflector | |
| Reflection object for this class. | |
Abstract class that serves as a base to create a numeric profile for an IRCd server.
| Erebot\NumericProfile\Base::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. Implements ArrayAccess.
| Erebot\NumericProfile\Base::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. |
Implements ArrayAccess.
| Erebot\NumericProfile\Base::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. |
Implements ArrayAccess.
| Erebot\NumericProfile\Base::offsetUnset | ( | $offset | ) |
Unsets an offset.
| mixed | $offset | The offset to unset. |
(unset). Implements ArrayAccess.