BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
BlueSpice\Avatars\Generator Class Reference
Collaboration diagram for BlueSpice\Avatars\Generator:

Public Member Functions

 __construct ($contig)
 
 generate (\User $user, array $params=[])
 
 getAvatarFile (\User $user)
 

Public Attributes

const FILE_PREFIX = "BS_avatar_"
 
const PARAM_OVERWRITE = 'overwrite'
 
const PARAM_HEIGHT = 'height'
 
const PARAM_WIDTH = 'width'
 

Protected Member Functions

 generateIdention (\User $user, $size)
 
 generateInstantAvatar (\User $user, $size)
 

Protected Attributes

 $config = null
 

Constructor & Destructor Documentation

BlueSpice\Avatars\Generator::__construct (   $contig)
Parameters
\Contig$contig

Member Function Documentation

BlueSpice\Avatars\Generator::generate ( \User  $user,
array  $params = [] 
)
Parameters
\User$user
array$params
Returns
string
BlueSpice\Avatars\Generator::getAvatarFile ( \User  $user)

Gets Avatar file from user ID

Parameters
\User$user
Returns
boolean|

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