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

Interface for the "ServerCapabilities" event. More...

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

Public Member Functions

 getModule ()
 
- Public Member Functions inherited from Erebot\Interfaces\Event\Base\Generic
 getConnection ()
 
 preventDefault ($prevent=null)
 

Detailed Description

Interface for the "ServerCapabilities" event.

Note
This event is special in the sense that Erebot's core does not emit it. Instead, a module is required (Erebot::Module::ServerCapabilities) for such an event to be produced.

Definition at line 33 of file ServerCapabilities.php.

Member Function Documentation

Erebot\Interfaces\Event\ServerCapabilities::getModule ( )

Returns the module associated with this event.

Return values
Erebot::Module::ServerCapabilitiesThe module associated with this event. It can be used to determine what the current IRC server is capable of.

Implemented in Erebot\Event\ServerCapabilities.


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