/** * @see \wcf\system\event\IEventListener::execute() */ public function execute($eventObj, $className, $eventName) { $this->eventObj = $eventObj; if (method_exists($this, $this->eventObj->getActionName())) { call_user_func(array($this, $this->eventObj->getActionName())); } }