19 declare(strict_types=1);
    40         if ($this->
profile->exists($user_id)) {
    43             $avatar = $this->ui_factory->symbol()->avatar()->letter($this->
profile->getDeletedUserAvatarText());
    52         if ($this->
profile->exists($user_id)) {
    53             return \ilObjUser::_getPersonalPicturePath($user_id, 
"xsmall", 
true, 
true);
    55         $fac = new \ilUserAvatarFactory($DIC);
    56         $avatar = $fac->avatar(
"xsmall");
    57         $avatar->setName(substr($this->
profile->getDeletedUserAvatarText(), 0, 2));
    58         $avatar->setUsrId($user_id);
    59         return $avatar->getUrl();
    64         if ($this->
profile->exists($user_id)) {
    67             $name = $this->
profile->getDeletedUserNamePresentation();
 getPicturePath(int $user_id)
 
Interface Observer  Contains several chained tasks and infos about them. 
 
ILIAS UI Factory $ui_factory
 
static _getAvatar(int $a_usr_id)
 
getNamePresentation(int $user_id, bool $link_profile=false, string $back="", $force_first_last=false)
 
static getNamePresentation( $a_user_id, bool $a_user_image=false, bool $a_profile_link=false, string $a_profile_back_link='', bool $a_force_first_lastname=false, bool $a_omit_login=false, bool $a_sortable=true, bool $a_return_data_array=false, $a_ctrl_path='ilpublicuserprofilegui')
Default behaviour is: 
 
__construct(ProfileAdapter $profile, \ILIAS\UI\Factory $ui_factory)
 
This describes how a letter or a picture avatar could be modified during construction of UI...