8e4ddf176429c7618e1b253926fff64efcd60628
[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-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
14 */
15 interface IModerationQueueActivationHandler extends IModerationQueueHandler {
16 /**
17 * Enables affected content.
18 *
19 * @param ModerationQueue $queue
20 */
21 public function enableContent(ModerationQueue $queue);
22
23 /**
24 * Returns rendered template for disabled content.
25 *
26 * @param ViewableModerationQueue $queue
27 * @return string
28 */
29 public function getDisabledContent(ViewableModerationQueue $queue);
30 }