ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilUserAvatarFile.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2017 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
10 {
14  protected $size = '';
15 
20  public function __construct($size)
21  {
22  $this->size = $size;
23  }
24 
28  public function getUrl()
29  {
30  return \ilWACSignedPath::signFile(\ilUtil::getImagePath('no_photo_' . $this->size . '.jpg'));
31  }
32 }
Class ilUserAvatarBase.
Class ilUserAvatarFile.
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
font size
Definition: langcheck.php:162
__construct($size)
ilUserAvatarFile constructor.