ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
InlineCss.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
26 class InlineCss extends AbstractMedia
27 {
28  public const MEDIA_SCREEN = "screen";
29 
30 
31  public function __construct(string $content, string $version, private string $media = self::MEDIA_SCREEN)
32  {
33  parent::__construct($content, $version);
34  }
35 
36  public function getMedia(): string
37  {
38  return $this->media;
39  }
40 }
$version
Definition: plugin.php:24
__construct(string $content, string $version, private string $media=self::MEDIA_SCREEN)
Definition: InlineCss.php:31
__construct(Container $dic, ilPlugin $plugin)