|
Erebot
latest
A modular IRC bot for PHP 5.3+
|
Interface for a class that holds a reference to an IRC numeric. More...
Inheritance diagram for Erebot\Interfaces\NumericReference:Public Member Functions | |
| getName () | |
| getValue () | |
Interface for a class that holds a reference to an IRC numeric.
This class holds a reference to an IRC numeric using its name (eg. "RPL_WELCOME"). The actual numeric code associated with this reference may vary dynamically depending on the numeric profile currently loaded for the connection.
Definition at line 33 of file NumericReference.php.
| Erebot\Interfaces\NumericReference::getName | ( | ) |
Returns the name of the numeric this object holds a reference for.
| string | Name of the numeric, such as "RPL_WELCOME". |
Implemented in Erebot\NumericReference.
| Erebot\Interfaces\NumericReference::getValue | ( | ) |
Retrieve the actual numeric code associated with this reference.
| int | Numeric code associated with this reference, such as 1 for "RPL_WELCOME". |
Implemented in Erebot\NumericReference.