interface RulesEventDispatcherInterface in Rules 7.2
Interface for event dispatchers.
Hierarchy
- interface \RulesEventHandlerInterface
- interface \RulesEventDispatcherInterface
Expanded class hierarchy of RulesEventDispatcherInterface
All classes that implement RulesEventDispatcherInterface
File
- includes/
rules.event.inc, line 155 - Contains event handler interface and base classes.
View source
interface RulesEventDispatcherInterface extends RulesEventHandlerInterface {
/**
* Starts the event watcher.
*/
public function startWatching();
/**
* Stops the event watcher.
*/
public function stopWatching();
/**
* Returns whether the event dispatcher is currently active.
*
* @return bool
* TRUE if the event dispatcher is currently active, FALSE otherwise.
*/
public function isWatching();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RulesEventDispatcherInterface:: |
public | function | Returns whether the event dispatcher is currently active. | 1 |
RulesEventDispatcherInterface:: |
public | function | Starts the event watcher. | 1 |
RulesEventDispatcherInterface:: |
public | function | Stops the event watcher. | 1 |
RulesEventHandlerInterface:: |
public | function | Returns info about the variables provided by this event. | 1 |
RulesEventHandlerInterface:: |
public | function | Builds the event settings form. | 2 |
RulesEventHandlerInterface:: |
public | function | Extract the form values and update the event settings. | 1 |
RulesEventHandlerInterface:: |
public | function | Returns an array of default settings. | 2 |
RulesEventHandlerInterface:: |
public | function | Returns the info array of the event the event handler belongs to. | 1 |
RulesEventHandlerInterface:: |
public | function | Returns the base name of the event the event handler belongs to. | 1 |
RulesEventHandlerInterface:: |
public | function | Returns the suffix to be added to the base event named based upon settings. | 2 |
RulesEventHandlerInterface:: |
public | function | Gets the event settings. | 1 |
RulesEventHandlerInterface:: |
public | function | Sets the event settings. | 1 |
RulesEventHandlerInterface:: |
public | function | Returns a user-facing summary of the settings. | 2 |
RulesEventHandlerInterface:: |
public | function | Validate the event settings independent from a form submission. | 1 |
RulesEventHandlerInterface:: |
public | function | Constructs the event handler. | 1 |