Commit | Line | Data |
---|---|---|
04c06e85 | 1 | <?php |
a9229942 | 2 | |
04c06e85 | 3 | namespace wcf\system\tagging; |
a9229942 | 4 | |
1bcacda8 | 5 | use wcf\data\DatabaseObjectList; |
04c06e85 MW |
6 | use wcf\data\tag\Tag; |
7 | ||
8 | /** | |
9 | * Any object type that is taggable, can implement this interface. | |
a9229942 TD |
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> | |
04c06e85 | 14 | */ |
a9229942 TD |
15 | interface 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(); | |
04c06e85 | 39 | } |