/** * @see \wcf\system\moderation\queue\report\IModerationQueueReportHandler::getReportedContent() */ public function getReportedContent(ViewableModerationQueue $queue) { WCF::getTPL()->assign(array('user' => new UserProfile($queue->getAffectedObject()))); return WCF::getTPL()->fetch('moderationUser'); }
/** * @see \wcf\system\moderation\queue\activation\IModerationQueueActivationHandler::getDisabledContent() */ public function getDisabledContent(ViewableModerationQueue $queue) { // init template WCF::getTPL()->assign(array('file' => $queue->getAffectedObject())); return WCF::getTPL()->fetch('moderationFile', 'filebase'); }
/** * @see \wcf\system\moderation\queue\activation\IModerationQueueActivationHandler::getDisabledContent() */ public function getDisabledContent(ViewableModerationQueue $queue) { // init template WCF::getTPL()->assign(array('entry' => new ViewableEntry($queue->getAffectedObject()))); return WCF::getTPL()->fetch('moderationEntry', 'linklist'); }
/** * @see \wcf\system\moderation\queue\report\IModerationQueueReportHandler::getReportedContent() */ public function getReportedContent(ViewableModerationQueue $queue) { WCF::getTPL()->assign(array('news' => new ViewableNews($queue->getAffectedObject()))); // init template return WCF::getTPL()->fetch('newsModerationEntry', 'news'); }
/** * @see \wcf\system\moderation\queue\report\IModerationQueueReportHandler::getReportedContent() */ public function getReportedContent(ViewableModerationQueue $queue) { WCF::getTPL()->assign(array('message' => ViewableConversationMessage::getViewableConversationMessage($queue->getAffectedObject()->messageID))); return WCF::getTPL()->fetch('moderationConversationMessage'); }
/** * @see \wcf\system\moderation\queue\report\IModerationQueueReportHandler::getReportedContent() */ public function getReportedContent(ViewableModerationQueue $queue) { WCF::getTPL()->assign(array('entry' => new ViewableEntry($queue->getAffectedObject()))); return WCF::getTPL()->fetch('filebaseModerationEntry', 'filebase'); }