Add EmailLogListPage
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / data / IThumbnailFile.class.php
CommitLineData
59ab4d0f 1<?php
a9229942 2
59ab4d0f
MS
3namespace wcf\data;
4
5/**
6 * Every database object representing a file supporting thumbnails should implement
7 * this interface.
a9229942
TD
8 *
9 * @author Matthias Schmidt
10 * @copyright 2001-2019 WoltLab GmbH
11 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
12 * @package WoltLabSuite\Core\Data
13 * @since 3.0
59ab4d0f 14 */
a9229942
TD
15interface IThumbnailFile extends IFile
16{
17 /**
18 * Returns the link to the thumbnail file with the given size.
19 *
20 * @param string $size
21 * @return string
22 */
23 public function getThumbnailLink($size);
24
25 /**
26 * Returns the physical location of the thumbnail file with the given size.
27 *
28 * @param string $size
29 * @return string
30 */
31 public function getThumbnailLocation($size);
32
33 /**
34 * Returns the available thumbnail sizes.
35 *
36 * @return array
37 */
38 public static function getThumbnailSizes();
59ab4d0f 39}