Class cApiCecRegistry
CEC registry class. Used to register chains and chain functions to invoke.
Following 3 types of CEC functions/callbacks are supported at the moment:
- Callbacks, which should only be invoked. They don't return a value and have
no break conditions, @see cApiCecHook::execute()
- Callbacks, which should return a value and/or should modify a passed
parameter,
Package: Core\CEC
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Timo A. Hummel
Author: Murat Purc <murat@purc.de>
See: cApiCecHook::executeAndReturn() - Callbacks, which should be processed untill a defined break condition achieves,
See:
Located at classes/class.cec.php
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Timo A. Hummel
Author: Murat Purc <murat@purc.de>
See: cApiCecHook::executeAndReturn() - Callbacks, which should be processed untill a defined break condition achieves,
See:
cApiCecHook::executeWhileBreakCondition()
Located at classes/class.cec.php
protected
|
|
private
|
|
public static
|
|
public
|
#
registerChain( string $sChainName )
Registers a chain (adds the chain to the internal chain holder) NOTE: The number of parameter is not restricted. You can pass as much parameter as you want. |
public
|
|
public
boolean
|
|
public
array
|
|
protected
|
|
public
boolean
|
#
addChainFunction( string $sChainName, string $sFunctionName )
Adds a chain function which is to invoke. |
public
boolean
|
#
chainFunctionExists( string $sChainName, string $sFunctionName )
Checks if a chain function exists. |
public
|
|
public
|
|
protected
|
private
array
|
$_aChains |
|
#
List of available chains |
private static
|
$_instance | NULL |
#
Self instance |