コード例 #1
0
 public function afterTopicImported(TopicImportState $state, IImportTopic $topic)
 {
     if (!$topic instanceof LqtImportTopic) {
         return;
     }
     if ($this->postsImported === false) {
         // nothing was imported in this topic
         return;
     }
     $this->postsImported = false;
     $this->controller->notifyPostChange('flow-post-reply', array('revision' => $state->topicTitle, 'topic-title' => $state->topicTitle, 'topic-workflow' => $state->topicWorkflow, 'title' => $state->topicWorkflow->getOwnerTitle(), 'reply-to' => $state->topicTitle, 'extra-data' => array('lqtThreadId' => $topic->getLqtThreadId(), 'notifyAgent' => true), 'timestamp' => $topic->getTimestamp()));
 }