lucee.Componentcontentbox.models.ui.Avatar
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
requestService
|
true
|
false
|
|
any
|
requestStorage
|
true
|
false
|
Constructor Summary | |
---|---|
init()
Constructor. |
Method Summary | |
---|---|
any
|
generateLink(any email, [numeric size='80'], [any rating='PG'])
Generates the Gravatar link. |
any
|
renderAvatar(any email, [numeric size='80'], [string class='gravatar'])
Render an avatar image. |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anyinject
- coldbox:requestServiceserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- requestStorage@cbStoragesserializable
- trueMethod Detail |
---|
Generates the Gravatar link
email
- The user's emailsize
- The size of the avatarrating
Render an avatar image
email
- The email to rendersize
- The pixel size, defaults to 80class
- An optional class to add to the img tag produced