Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
InstituteAvatar Class Reference
Inheritance diagram for InstituteAvatar:
Inheritance graph
Collaboration diagram for InstituteAvatar:
Collaboration graph

Public Member Functions

 getAvatarDirectoryUrl ()
 getAvatarDirectoryPath ()
 getDefaultTitle ()
- Public Member Functions inherited from CourseAvatar
 getDimension ($size)
- Public Member Functions inherited from Avatar
 getCustomAvatarUrl ($size, $ext= 'png')
 getCustomAvatarPath ($size, $ext= 'png')
 getFilename ($size, $ext= 'png')
 getURL ($size, $ext= 'png')
 is_customized ()
 getImageTag ($size=Avatar::MEDIUM, $opt=array())
 createFromUpload ($userfile)
 createFrom ($filename)
 reset ()

Static Public Member Functions

static getAvatar ($institute_id)
static getNobody ()

Additional Inherited Members

- Data Fields inherited from Avatar
const NORMAL = 'normal'
const MEDIUM = 'medium'
const SMALL = 'small'
const MAX_FILE_SIZE = 716800
const NOBODY = 'nobody'
- Protected Member Functions inherited from CourseAvatar
 getCssClass ($size)
- Protected Attributes inherited from Avatar
 $user_id
 $username

Member Function Documentation

static getAvatar (   $institute_id)
static

Returns an avatar object of the appropriate class.

Parameters
stringthe course's id
Returns
mixed the course's avatar.

Reimplemented from CourseAvatar.

Here is the caller graph for this function:

getAvatarDirectoryPath ( )

Returns the file system path to the institute' avatars

Returns
string the file system path to the avatars

Reimplemented from CourseAvatar.

getAvatarDirectoryUrl ( )

Returns the URL to the institute' avatars.

Returns
string the URL to the avatars

Reimplemented from CourseAvatar.

getDefaultTitle ( )

Return the default title of the avatar.

Returns
string the default title

Reimplemented from CourseAvatar.

Here is the call graph for this function:

static getNobody ( )
static

Returns an avatar object for "nobody".

Returns
mixed the course's avatar.

Reimplemented from CourseAvatar.


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