xref: /plugin/combo/ComboStrap/ThirdMediaLink.php (revision 37748cd8654635afbeca80942126742f0f4cc346)
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()
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 getMediaWidth()
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 getMediaHeight()
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