/** * @see PwPostAction.dataProcessing */ public function dataProcessing(PwPostDm $postDm) { $time = Pw::getTime(); $postDm->setFid($this->forum->fid)->setAuthor($this->user->uid, $this->user->username, $this->user->ip)->setCreatedTime($time)->setDisabled($this->isDisabled())->setLastpost($this->user->uid, $this->user->username, $time); if (($result = $this->checkContentHash($postDm->getContent())) !== true) { return $result; } if (($result = $this->checkTopictype($postDm)) !== true) { return $result; } if (($postDm = $this->runWithFilters('dataProcessing', $postDm)) instanceof PwError) { return $postDm; } $this->postDm = $postDm; return true; }