Documentation

Avatar extends Base
in package

Table of Contents

Properties

$fd  : mixed

Methods

__construct()  : mixed
default()  : mixed
Renders the default avatar
getTemplate()  : mixed
Central method to generate a new theme object so that we can centralize and inject variables into the library
lg()  : mixed
Renders the large avatar
md()  : mixed
Renders the medium avatar
sm()  : mixed
Renders the avatar of the user
xl()  : mixed
Renders the extra large avatar
xs()  : mixed
Renders the extra small avatar
render()  : mixed
Centralized method of retrieving the html output of the avatar

Properties

$fd

protected mixed $fd = null

Methods

__construct()

public __construct(mixed $fd) : mixed
Parameters
$fd : mixed

default()

Renders the default avatar

public default(mixed $url[, mixed $useAnchorTag = true ][, mixed $options = [] ]) : mixed
Parameters
$url : mixed
$useAnchorTag : mixed = true
$options : mixed = []
Tags
since
1.0.0
access

public

getTemplate()

Central method to generate a new theme object so that we can centralize and inject variables into the library

public getTemplate() : mixed
Tags
since
1.0.0
access

public

lg()

Renders the large avatar

public lg(mixed $url[, mixed $useAnchorTag = true ][, mixed $options = [] ]) : mixed
Parameters
$url : mixed
$useAnchorTag : mixed = true
$options : mixed = []
Tags
since
1.0.0
access

public

md()

Renders the medium avatar

public md(mixed $url[, mixed $useAnchorTag = true ][, mixed $options = [] ]) : mixed
Parameters
$url : mixed
$useAnchorTag : mixed = true
$options : mixed = []
Tags
since
1.0.0
access

public

sm()

Renders the avatar of the user

public sm(mixed $url[, mixed $useAnchorTag = true ][, mixed $options = [] ]) : mixed
Parameters
$url : mixed
$useAnchorTag : mixed = true
$options : mixed = []
Tags
since
1.0.0
access

public

xl()

Renders the extra large avatar

public xl(mixed $url[, mixed $useAnchorTag = true ][, mixed $options = [] ]) : mixed
Parameters
$url : mixed
$useAnchorTag : mixed = true
$options : mixed = []
Tags
since
1.0.0
access

public

xs()

Renders the extra small avatar

public xs(mixed $url[, mixed $useAnchorTag = true ][, mixed $options = [] ]) : mixed
Parameters
$url : mixed
$useAnchorTag : mixed = true
$options : mixed = []
Tags
since
1.0.0
access

public

render()

Centralized method of retrieving the html output of the avatar

private render(mixed $url, mixed $size, mixed $useAnchorTag[, mixed $options = [] ]) : mixed
Parameters
$url : mixed
$size : mixed
$useAnchorTag : mixed
$options : mixed = []
Tags
since
1.0.0
access

private


        
On this page

Search results