getActionId()); } public function getActionId() { return Action::TYPE_EVENT_CATEGORY; } public function onLookupAction(Request $request, Action $action) { if (!($action instanceof ActionEvent)) { return false; } $eventCategory = $action->getEventCategory(); $eventCategory = trim($eventCategory); if (strlen($eventCategory) > 0) { return $eventCategory; } throw new InvalidRequestParameterException('Param `e_c` must not be empty or filled with whitespaces'); } }