ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
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...
__construct(VocabulariesInterface $vocabularies)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Audio.php:21