ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
Picture.php
Go to the documentation of this file.
1 <?php declare(strict_types=1);
2 
4 
5 use ILIAS\UI\Component as C;
7 
8 class Picture extends Avatar implements C\Symbol\Avatar\Picture
9 {
10  private $picture_path;
11 
12  public function __construct(string $path_to_picture, string $username)
13  {
14  $this->picture_path = $path_to_picture;
15  parent::__construct($username);
16  }
17 
18  public function getPicturePath() : string
19  {
20  return $this->picture_path;
21  }
22 }
__construct(string $path_to_picture, string $username)
Definition: Picture.php:12
__construct(Container $dic, ilPlugin $plugin)
This describes how a picture avatar could be modified during construction of UI.
Definition: Picture.php:8