Modules
Contains various functions, acts as the backbone for all modules.
Summary
| Modules | Contains various functions, acts as the backbone for all modules. |
| Variables | |
| $instances | Holds all Module instantiations. |
| $cancelled | Is the module’s execution cancelled? |
| Functions | |
| setPriority | Sets the priority of an action for the module this function is called from. |
| addAlias | Allows a module to respond to a trigger with multiple functions and custom priorities. |
addAlias
| protected function addAlias( | $name, | |||
| $function, | ||||
| $priority | = | 10 | ) |
Allows a module to respond to a trigger with multiple functions and custom priorities.
Parameters
| $name | Name of the trigger to respond to. |
| $function | Name of the class function to respond with. |
| $priority | Priority of the response. |