|
Erebot
latest
A modular IRC bot for PHP 5.3+
|
A filter that groups several (sub-)filters together and only matches when all sub-filters match. More...
Inheritance diagram for Erebot\Event\Match\All:Public Member Functions | |
| match (\Erebot\Interfaces\Event\Base\Generic $event) | |
Public Member Functions inherited from Erebot\Event\Match\CollectionAbstract | |
| __construct () | |
| & | add ($filter) |
| count () | |
| offsetExists ($offset) | |
| offsetGet ($offset) | |
| offsetSet ($offset, $value) | |
| offsetUnset ($offset) | |
| & | remove ($filter) |
Additional Inherited Members | |
Protected Attributes inherited from Erebot\Event\Match\CollectionAbstract | |
| $submatchers | |
| Subfilters of this filter. | |
A filter that groups several (sub-)filters together and only matches when all sub-filters match.
| Erebot\Event\Match\All::match | ( | \Erebot\Interfaces\Event\Base\Generic | $event | ) |
Decides whether the given event passes the filter or not.
| $event | An event to try to match to the criterion expressed by this filter. |
| bool | true if the event matches the criterion, false otherwise. |
Implements Erebot\Interfaces\Event\Match.