ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
InlineCss.php
Go to the documentation of this file.
2
3/******************************************************************************
4 * This file is part of ILIAS, a powerful learning management system.
5 * ILIAS is licensed with the GPL-3.0, you should have received a copy
6 * of said license along with the source code.
7 * If this is not the case or you just want to try ILIAS, you'll find
8 * us at:
9 * https://www.ilias.de
10 * https://github.com/ILIAS-eLearning
11 *****************************************************************************/
12
19{
20 const MEDIA_SCREEN = "screen";
25
26
33 public function __construct(string $content, string $version, string $media = self::MEDIA_SCREEN)
34 {
36 $this->media = $media;
37 }
38
39
43 public function getMedia() : string
44 {
45 return $this->media;
46 }
47}
An exception for terminatinating execution or to throw for unit testing.
__construct(string $content, string $version, string $media=self::MEDIA_SCREEN)
InlineCss constructor.
Definition: InlineCss.php:33
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc