API documentation :: Docs For Class arbitSignalSlot
Packages:Interfaces:
Classes:
|
Core::arbitSignalSlotClass arbitSignalSlotArbit signal slot implementation The arbit specific signal slot implementation has some special requirements, which are not commonly included in signal slot implementations, so that we got our own implementation.
Arbit signal slot implementation The arbit specific signal slot implementation has some special requirements, which are not commonly included in signal slot implementations, so that we got our own implementation. The special requirements are:
Constants
Member Variables
Method Summary
Methodsemit
static void
emit(
string
$signal
, arbitSignalSlotStruct
$data
)
Emit a signal This method is used to emit signals from a module. parameter containing the signal data, which needs to be an object of the class arbit<signalName>Struct, which extends the arbitSignalSlotStruct base struct. Emit a signal This method is used to emit signals from a module. You must provide a parameter containing the signal data, which needs to be an object of the class arbit<signalName>Struct, which extends the arbitSignalSlotStruct base struct. All registered slots will be called in any order. Parameters:
getSignals
static array
getSignals(
)
Get list of defined signals. Get list of defined signals. Returns a list with all defined signals for all modules, associated with their description. The array will look like:
registerSignals
static void
registerSignals(
string
$module
,
$signals
)
Register a set of signals. Register a set of signals. Registers a set of signals for a module. The signal array has to look like specified in the arbitModuleDefintion class:
Parameters:
registerSlots
static void
registerSlots(
$slots
)
Register a set of slots. Register a set of slots. Registers a set of slots for the given signals. The provided array has to look like specified in the arbitModuleDefintion class:
Parameters:
Documentation generated on Mon, 05 Apr 2010 14:02:18 +0200 by phpDocumentor 1.4.3
|