ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
Audio.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 
23 use ILIAS\UI\Component as C;
24 
29 class Audio extends Player implements C\Player\Audio
30 {
31  private string $transcript;
32 
33  public function __construct(string $source, string $transcript)
34  {
35  parent::__construct($source);
36  $this->transcript = $transcript;
37  }
38 
39  public function getTranscription(): string
40  {
41  return $this->transcript;
42  }
43 }
__construct(string $source, string $transcript)
Definition: Audio.php:33
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Audio.php:21
__construct(Container $dic, ilPlugin $plugin)
$source
Definition: metadata.php:93