Placeholder
extends Base
in package
Table of Contents
Properties
- $fd : mixed
Methods
- __construct() : mixed
- box() : mixed
- Renders the main placeholder.
- getTemplate() : mixed
- Central method to generate a new theme object so that we can centralize and inject variables into the library
- line() : mixed
- Renders the placeholder with no avatar.
- polls() : mixed
- Renders a placeholder for polls
- standard() : mixed
- Renders the standard placeholder.
Properties
$fd
protected
mixed
$fd
= null
Methods
__construct()
public
__construct(mixed $fd) : mixed
Parameters
- $fd : mixed
box()
Renders the main placeholder.
public
box([mixed $shape = 'rounded' ][, int $rows = 1 ][, mixed $aspectRatio = false ][, mixed $args = [] ]) : mixed
Parameters
- $shape : mixed = 'rounded'
- $rows : int = 1
- $aspectRatio : mixed = false
- $args : mixed = []
Tags
getTemplate()
Central method to generate a new theme object so that we can centralize and inject variables into the library
public
getTemplate() : mixed
Tags
line()
Renders the placeholder with no avatar.
public
line([int $rows = 3 ]) : mixed
Parameters
- $rows : int = 3
Tags
polls()
Renders a placeholder for polls
public
polls() : mixed
Tags
standard()
Renders the standard placeholder.
public
standard([mixed $shape = 'rounded' ][, int $rows = 3 ]) : mixed
Parameters
- $shape : mixed = 'rounded'
- $rows : int = 3