Added detailed list of received/given likes in user profiles
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / data / IMessageInlineEditorAction.class.php
1 <?php
2 namespace wcf\data;
3
4 /**
5 * Default interface for actions implementing message inline editing.
6 *
7 * @author Alexander Ebert
8 * @copyright 2001-2014 WoltLab GmbH
9 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
10 * @package com.woltlab.wcf
11 * @subpackage data
12 * @category Community Framework
13 */
14 interface IMessageInlineEditorAction {
15 /**
16 * Provides WYSIWYG editor for message inline editing.
17 *
18 * @return array
19 */
20 public function beginEdit();
21
22 /**
23 * Saves changes made to a message.
24 *
25 * @return array
26 */
27 public function save();
28
29 /**
30 * Validates parameters to begin message inline editing.
31 */
32 public function validateBeginEdit();
33
34 /**
35 * Validates parameters to save changes made to a message.
36 */
37 public function validateSave();
38 }