source/Core/Module/ModuleInstaller.php
protected function _callEvent($sEvent, $sModuleId)
    {
        $aModuleEvents = (array) \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('aModuleEvents');

        if (isset($aModuleEvents[$sModuleId], $aModuleEvents[$sModuleId][$sEvent])) {
            $mEvent = $aModuleEvents[$sModuleId][$sEvent];

            if (is_callable($mEvent)) {
                call_user_func($mEvent);
            }
        }
    }
protected function _callEvent($sEvent, $sModuleId)
    {
        $aModuleEvents = (array) \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('aModuleEvents');

        if (isset($aModuleEvents[$sModuleId], $aModuleEvents[$sModuleId][$sEvent])) {
            $mEvent = $aModuleEvents[$sModuleId][$sEvent];

            if (is_callable($mEvent)) {
                call_user_func($mEvent);
            }
        }
    }
protected function _callEvent ( $ sEvent , $ sModuleId ) { $ aModuleEvents = ( array ) \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getConfigParam ( 'aModuleEvents' ) ; if ( isset ( $ aModuleEvents [ $ sModuleId ] , $ aModuleEvents [ $ sModuleId ] [ $ sEvent ] ) ) { $ mEvent = $ aModuleEvents [ $ sModuleId ] [ $ sEvent ] ; if ( is_callable ( $ mEvent ) ) { call_user_func ( $ mEvent ) ; } } }
Call module event.

@param string $sEvent    Event name
@param string $sModuleId Module Id
Call module event .