2 namespace wcf\system\moderation\queue\activation;
3 use wcf\data\moderation\queue\ModerationQueue;
4 use wcf\data\moderation\queue\ViewableModerationQueue;
5 use wcf\system\moderation\queue\IModerationQueueHandler;
8 * Default interface for moderation queue activation handlers.
10 * @author Alexander Ebert
11 * @copyright 2001-2016 WoltLab GmbH
12 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
13 * @package WoltLabSuite\Core\System\Moderation\Queue\Activiation
15 interface IModerationQueueActivationHandler extends IModerationQueueHandler {
17 * Enables affected content.
19 * @param \wcf\data\moderation\queue\ModerationQueue $queue
21 public function enableContent(ModerationQueue $queue);
24 * Returns rendered template for disabled content.
26 * @param \wcf\data\moderation\queue\ViewableModerationQueue $queue
29 public function getDisabledContent(ViewableModerationQueue $queue);