Stud.IP  5.4
 All Data Structures Namespaces Files Functions Variables Groups
StudygroupAvatar Class Reference
Inheritance diagram for StudygroupAvatar:
CourseAvatar Avatar

Static Public Member Functions

static getAvatar ($course_id)
 
static getNobody ()
 
- Static Public Member Functions inherited from CourseAvatar
static getAvatar ($id)
 
static getNobody ()
 
- Static Public Member Functions inherited from Avatar
static getAvatar ($id)
 
static getNobody ()
 
static getDimension ($size)
 
static error_handler ($errno, $errstr, $errfile, $errline)
 

Additional Inherited Members

- Public Member Functions inherited from CourseAvatar
 getAvatarDirectoryUrl ()
 
 getAvatarDirectoryPath ()
 
 getDefaultTitle ()
 
- Public Member Functions inherited from Avatar
 getAvatarDirectoryUrl ()
 
 getAvatarDirectoryPath ()
 
 getCustomAvatarUrl ($size, $ext= 'png')
 
 getCustomAvatarPath ($size, $ext= 'png', $retina=false)
 
 getFilename ($size, $ext= 'png')
 
 getURL ($size, $ext= 'png')
 
 is_customized ()
 
 getImageTag ($size=Avatar::MEDIUM, $opt=[])
 
 createFromUpload ($userfile)
 
 createFrom ($filename)
 
 reset ()
 
 getDefaultTitle ()
 
- Data Fields inherited from Avatar
const ORIGINAL = 'original'
 
const NORMAL = 'normal'
 
const MEDIUM = 'medium'
 
const SMALL = 'small'
 
const MAX_FILE_SIZE = 10485760
 
const NOBODY = 'nobody'
 
- Protected Member Functions inherited from CourseAvatar
 getCssClass ($size)
 
 checkAvatarVisibility ()
 
- Protected Member Functions inherited from Avatar
 __construct ($user_id, $username=null)
 
 getCssClass ($size)
 
 checkAvatarVisibility ()
 
 sanitizeOrientation ($filename)
 
- Protected Attributes inherited from Avatar
 $user_id
 
 $username
 

Member Function Documentation

static getAvatar (   $course_id)
static

Returns an avatar object of the appropriate class.

Parameters
stringthe studygroup's id
Returns
mixed the studygroup's avatar.
static getNobody ( )
static

Returns an avatar object for "nobody".

Returns
mixed the studygroup's avatar.

The documentation for this class was generated from the following file: