Add EmailLogListPage
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / data / IPopoverObject.class.php
1 <?php
2
3 namespace wcf\data;
4
5 /**
6 * Database objects that support links with preview popovers via `WoltLabSuite/Core/Controller/Popover`
7 * can implement this interface so that when the `anchor` template plugin is used and the CSS class name
8 * returned by `getPopoverLinkClass()` is given, the `data-object-id` attribute is automatically added
9 * to support the preview popover.
10 *
11 * @author Matthias Schmidt
12 * @copyright 2001-2020 WoltLab GmbH
13 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
14 * @package WoltLabSuite\Core\Data
15 * @since 5.3
16 */
17 interface IPopoverObject extends IIDObject, ITitledLinkObject
18 {
19 /**
20 * Returns the CSS class that objects of this type use for popover links.
21 *
22 * @return string
23 */
24 public function getPopoverLinkClass();
25 }