Commit | Line | Data |
---|---|---|
a427a8c8 MS |
1 | <?php |
2 | namespace wcf\data; | |
3 | ||
4 | /** | |
5 | * Every database object action whose objects represent a collapsible container | |
6 | * has to implement this interface. | |
7 | * | |
8 | * @author Matthias Schmidt | |
ca4ba303 | 9 | * @copyright 2001-2014 WoltLab GmbH |
a427a8c8 MS |
10 | * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php> |
11 | * @package com.woltlab.wcf | |
12 | * @subpackage data | |
0c166126 | 13 | * @category Community Framework |
a427a8c8 | 14 | */ |
c05528d8 | 15 | interface IToggleContainerAction { |
a427a8c8 MS |
16 | /** |
17 | * Toggles the container state of the relevant objects. | |
18 | */ | |
19 | public function toggleContainer(); | |
20 | ||
21 | /** | |
c05528d8 | 22 | * Validates the 'toggleContainer' action. |
a427a8c8 MS |
23 | */ |
24 | public function validateToggleContainer(); | |
25 | } |