Erebot  latest
A modular IRC bot for PHP 5.3+
Erebot\Event\RawMode Class Reference

Triggered when a channel's modes are changed. More...

+ Inheritance diagram for Erebot\Event\RawMode:

Additional Inherited Members

- Public Member Functions inherited from Erebot\Event\WithChanSourceTextAbstract
 __construct (\Erebot\Interfaces\Connection $connection, $chan, $source, $text)
 
 getText ()
 
- Public Member Functions inherited from Erebot\Event\WithChanSourceAbstract
 __construct (\Erebot\Interfaces\Connection $connection, $chan, $source)
 
 getChan ()
 
 getSource ()
 
- Public Member Functions inherited from Erebot\Event\AbstractEvent
 __construct (\Erebot\Interfaces\Connection $connection)
 
 getConnection ()
 
 preventDefault ($prevent=null)
 
- Protected Attributes inherited from Erebot\Event\WithChanSourceTextAbstract
 $text
 Content of this event.
 
- Protected Attributes inherited from Erebot\Event\WithChanSourceAbstract
 $chan
 IRC channel this event relates to.
 
 $source
 Source the event originated from.
 
- Protected Attributes inherited from Erebot\Event\AbstractEvent
 $connection
 Connection the event originated from.
 
 $halt
 Whether the default action should be prevented or not. More...
 

Detailed Description

Triggered when a channel's modes are changed.

For common channel mode changes, you'll probably prefer other more specific events, such as ErebotEventBan, etc. The content of the mode change is passed unparsed.

Definition at line 31 of file RawMode.php.


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