ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
Picture.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 
25 class Picture extends Avatar implements C\Symbol\Avatar\Picture
26 {
27  private string $picture_path;
28 
29  public function __construct(string $path_to_picture, string $username)
30  {
31  $this->picture_path = $path_to_picture;
32  parent::__construct($username);
33  }
34 
35  public function getPicturePath(): string
36  {
37  return $this->picture_path;
38  }
39 }
__construct(string $path_to_picture, string $username)
Definition: Picture.php:29
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
This describes how a picture avatar could be modified during construction of UI.
Definition: Picture.php:26
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Avatar.php:21