/** * Saves or updates topic * * @param FORUM_BOL_Topic $topicDto */ public function saveOrUpdateTopic($topicDto) { $this->topicDao->save($topicDto); }
/** * Saves or updates topic * * @param FORUM_BOL_Topic $topicDto */ public function saveOrUpdateTopic($topicDto) { $this->topicDao->save($topicDto); $event = new OW_Event(self::EVENT_AFTER_TOPIC_EDIT, array('topicId' => $topicDto->id)); OW::getEventManager()->trigger($event); }