ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
Legacy.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 2016 Timon Amstutz <timon.amstutz@ilub.unibe.ch> Extended GPL, see docs/LICENSE */
4 
6 
7 use ILIAS\UI\Component as C;
9 
14 class Legacy implements C\Legacy\Legacy {
15  use ComponentHelper;
16 
20  private $content;
21 
22 
27  public function __construct($content) {
28  $this->checkStringArg("content", $content);
29 
30  $this->content = $content;
31  }
32 
36  public function getContent(){
37  return $this->content;
38  }
39 }
40 ?>
__construct($content)
Legacy constructor.
Definition: Legacy.php:27