Chyrp

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.
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.

Variables

$instances

static $instances

Holds all Module instantiations.

Functions

setPriority

protected function setPriority( $name,
$priority )

Sets the priority of an action for the module this function is called from.

addAlias

protected function addAlias( $name,   
$function,   
$priority  =  10 )

Allows a module to respond to a trigger with multiple functions and custom priorities.