ILIAS  release_8 Revision v8.24
Picture.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
22
24
25class 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 describes how a picture avatar could be modified during construction of UI.
Definition: Picture.php:27
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
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: Avatar.php:21