Merge branch '6.0'
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / system / tagging / ITaggable.class.php
... / ...
CommitLineData
1<?php
2
3namespace wcf\system\tagging;
4
5use wcf\data\DatabaseObjectList;
6use wcf\data\tag\Tag;
7
8/**
9 * Any object type that is taggable, can implement this interface.
10 *
11 * @author Marcel Werk
12 * @copyright 2001-2019 WoltLab GmbH
13 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
14 */
15interface ITaggable
16{
17 /**
18 * Returns a list of tagged objects.
19 *
20 * @param Tag $tag
21 * @return DatabaseObjectList
22 * @deprecated 5.2
23 */
24 public function getObjectList(Tag $tag);
25
26 /**
27 * Returns the template name for the result output.
28 *
29 * @return string
30 */
31 public function getTemplateName();
32
33 /**
34 * Returns the application of the result template.
35 *
36 * @return string
37 */
38 public function getApplication();
39}