Commit | Line | Data |
---|---|---|
886f7f29 | 1 | <?php |
a9229942 | 2 | |
886f7f29 AE |
3 | namespace wcf\system\image\cover\photo; |
4 | ||
5 | /** | |
6 | * Default interface for all objects that represent cover photos. | |
a9229942 | 7 | * |
886f7f29 AE |
8 | * @author Alexander Ebert |
9 | * @copyright 2001-2019 WoltLab GmbH | |
10 | * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php> | |
11 | * @package WoltLabSuite\Core\System\Image\Cover\Photo | |
12 | * @since 5.2 | |
13 | */ | |
a9229942 TD |
14 | interface ICoverPhotoImage |
15 | { | |
16 | /** | |
17 | * Returns the optional caption that should be displayed below the photo. | |
18 | * | |
19 | * @return string | |
20 | */ | |
21 | public function getCoverPhotoCaption(); | |
22 | ||
23 | /** | |
24 | * Returns the absolute path to the physical location of the image. | |
25 | * | |
26 | * @return string | |
27 | */ | |
28 | public function getCoverPhotoLocation(); | |
29 | ||
30 | /** | |
31 | * Returns the full url of the image. | |
32 | * | |
33 | * @return string | |
34 | */ | |
35 | public function getCoverPhotoUrl(); | |
886f7f29 | 36 | } |