Erebot  latest
A modular IRC bot for PHP 5.3+
Erebot\Interfaces\Event\Numeric Interface Reference

Interface to represent a numeric message. More...

+ Inheritance diagram for Erebot\Interfaces\Event\Numeric:

Public Member Functions

 getCode ()
 
- Public Member Functions inherited from Erebot\Interfaces\Event\Base\Generic
 getConnection ()
 
 preventDefault ($prevent=null)
 
- Public Member Functions inherited from Erebot\Interfaces\Event\Base\Source
 getSource ()
 
- Public Member Functions inherited from Erebot\Interfaces\Event\Base\Target
 getTarget ()
 
- Public Member Functions inherited from Erebot\Interfaces\Event\Base\Text
 getText ()
 

Detailed Description

Interface to represent a numeric message.

This interface provides the necessary methods to represent a numeric message from an IRC server.

Definition at line 30 of file Numeric.php.

Member Function Documentation

Erebot\Interfaces\Event\Numeric::getCode ( )

Returns the numeric code associated with the current message.

Return values
intThe numeric code of this message.
Note
Multiple constants may point to the same code as the same code may have different interpretations depending on the server (IRCd) where it is used.

Implemented in Erebot\Event\Numeric.


The documentation for this interface was generated from the following file: