contentbox.models.ui

Class Avatar

lucee.Component
    extended by contentbox.models.ui.Avatar
Class Attributes:
  • singleton
  •  
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any requestService


    • access = public
    • returntype = any
    • inject = coldbox:requestService
    true false
    Constructor Summary
    init()
          Constructor.
    Method Summary
    any renderAvatar(any email, [numeric size='80'], [string class='gravatar'])
         Render an avatar image.
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()

    Constructor


    Property Detail

    requestService

    property any requestService

    Attributes:
    access - public
    required - false
    returntype - any
    inject - coldbox:requestService
    serializable - true

    Method Detail

    renderAvatar

    public any renderAvatar(any email, [numeric size='80'], [string class='gravatar'])

    Render an avatar image

    Parameters:
    email - THe email to render
    size - The pixel size, defautls to 80
    class - An optional class to add