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

A filter that compares the content of events with some static string and matches when the two are equal. More...

+ Inheritance diagram for Erebot\Event\Match\TextStatic:

Protected Member Functions

 realMatch ($prefix, $text)
 
- Protected Member Functions inherited from Erebot\Event\Match\TextAbstract
 realMatch ($prefix, $text)
 

Additional Inherited Members

- Public Member Functions inherited from Erebot\Event\Match\TextAbstract
 __construct ($pattern, $requirePrefix=false)
 
 getPattern ()
 
 getPrefixRequirement ()
 
 match (\Erebot\Interfaces\Event\Base\Generic $event)
 
 setPattern ($pattern)
 
 setPrefixRequirement ($requirePrefix=false)
 
- Protected Attributes inherited from Erebot\Event\Match\TextAbstract
 $pattern
 Pattern used in comparisons, as a string.
 
 $requirePrefix
 Boolean or null indicating whether a prefix is required or not.
 

Detailed Description

A filter that compares the content of events with some static string and matches when the two are equal.

Definition at line 29 of file TextStatic.php.


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