Added skeleton for clipboard actions
[GitHub/WoltLab/com.woltlab.wcf.conversation.git] / files / lib / system / clipboard / action / ConversationClipboardAction.class.php
CommitLineData
18ec67a4
AE
1<?php
2namespace wcf\system\clipboard\action;
3use wcf\system\clipboard\ClipboardEditorItem;
4use wcf\system\clipboard\action\IClipboardAction;
5use wcf\system\database\util\PreparedStatementConditionBuilder;
6use wcf\system\exception\SystemException;
7use wcf\system\request\LinkHandler;
8use wcf\system\WCF;
9
10/**
11 * Prepares clipboard editor items for conversations.
12 *
13 * @author Alexander Ebert
14 * @copyright 2001-2012 WoltLab GmbH
15 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
16 * @package com.woltlab.wcf.conversation
17 * @subpackage system.clipboard.action
18 * @category Community Framework
19 */
20class ConversationClipboardAction implements IClipboardAction {
21 /**
22 * @see wcf\system\clipboard\action\IClipboardAction::getTypeName()
23 */
24 public function getTypeName() {
25 return 'com.woltlab.wcf.conversation.conversation';
26 }
27
28 /**
29 * @see wcf\system\clipboard\action\IClipboardAction::execute()
30 */
31 public function execute(array $objects, $actionName, $typeData = array()) {
32 die("ConversationClipboardAction::execute() IMPLEMENT ME!");
33 }
34
35 /**
36 * @see wcf\system\clipboard\action\IClipboardAction::getEditorLabel()
37 */
38 public function getEditorLabel(array $objects) {
39 return WCF::getLanguage()->getDynamicVariable('wcf.clipboard.label.conversation.marked', array('count' => count($objects)));
40 }
41}