src/Controller/Component/ProcessComponent.php
protected function _getEventName($action, $event = self::EVENT_NAME_BEFORE)
    {
        $details = [];
        if ($prefix = $this->_request->getParam('prefix')) {
            $details[] = ucfirst($prefix);
        }

        $details = Hash::merge($details, [
            'Controller',
            $this->_controller->getName(),
            $event . Inflector::camelize($action),
            'Process',
        ]);

        return implode('.', $details);
    }
protected function _getEventName($action, $event = self::EVENT_NAME_BEFORE)
    {
        $details = [];
        if ($prefix = $this->_request->getParam('prefix')) {
            $details[] = ucfirst($prefix);
        }

        $details = Hash::merge($details, [
            'Controller',
            $this->_controller->getName(),
            $event . Inflector::camelize($action),
            'Process',
        ]);

        return implode('.', $details);
    }
protected function _getEventName ( $ action , $ event = self :: EVENT_NAME_BEFORE ) { $ details = [ ] ; if ( $ prefix = $ this -> _request -> getParam ( 'prefix' ) ) { $ details [ ] = ucfirst ( $ prefix ) ; } $ details = Hash :: merge ( $ details , [ 'Controller' , $ this -> _controller -> getName ( ) , $ event . Inflector :: camelize ( $ action ) , 'Process' , ] ) ; return implode ( '.' , $ details ) ; }
Get event name by data.

@param   string $action
@param   string $event
@return  string
Get event name by data .