9896359385204dd4d317b0bd96a40a1a8a417559
[GitHub/WoltLab/WCF.git] /
1 <?php
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;
6
7 /**
8 * Default interface for moderation queue activation handlers.
9 *
10 * @author Alexander Ebert
11 * @copyright 2001-2015 WoltLab GmbH
12 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
13 * @package com.woltlab.wcf
14 * @subpackage system.moderation.queue.activiation
15 * @category Community Framework
16 */
17 interface IModerationQueueActivationHandler extends IModerationQueueHandler {
18 /**
19 * Enables affected content.
20 *
21 * @param \wcf\data\moderation\queue\ModerationQueue $queue
22 */
23 public function enableContent(ModerationQueue $queue);
24
25 /**
26 * Returns rendered template for disabled content.
27 *
28 * @param \wcf\data\moderation\queue\ViewableModerationQueue $queue
29 * @return string
30 */
31 public function getDisabledContent(ViewableModerationQueue $queue);
32 }