xref: /plugin/combo/ComboStrap/ThirdMediaLink.php (revision 1fa8c418ed5809db58049141be41b7738471dd32)
1<?php
2
3
4namespace ComboStrap;
5
6/**
7 * Class ThirdMediaLink
8 * @package ComboStrap
9 * Not yet implemented but used to
10 * returns a media link object and not null
11 * otherwise, we get an error
12 */
13class ThirdMediaLink extends MediaLink
14{
15
16    public function renderMediaTag(): string
17    {
18        $msg = "The media with the mime (" . $this->getMime() . ") is not yet implemented";
19        LogUtility::msg($msg, LogUtility::LVL_MSG_ERROR);
20        return $msg;
21    }
22
23    public function getAbsoluteUrl()
24    {
25        LogUtility::msg("The media with the mime (" . $this->getMime() . ") is not yet implemented", LogUtility::LVL_MSG_ERROR);
26        return "https://combostrap.com/media/not/yet/implemented";
27    }
28
29    public function getWidth()
30    {
31        LogUtility::msg("The media with the mime (" . $this->getMime() . ") is not yet implemented", LogUtility::LVL_MSG_ERROR);
32        return null;
33    }
34
35    public function getHeight()
36    {
37        LogUtility::msg("The media with the mime (" . $this->getMime() . ") is not yet implemented", LogUtility::LVL_MSG_ERROR);
38        return null;
39    }
40}
41