Documentation

Button extends Base
in package

Table of Contents

Properties

$fd  : mixed

Methods

__construct()  : mixed
apple()  : mixed
Renders a sign in with Apple button
email()  : mixed
Renders an e-mail social button
facebook()  : mixed
Renders a sign in with Facebook button
getTemplate()  : mixed
Central method to generate a new theme object so that we can centralize and inject variables into the library
google()  : mixed
Renders a sign in with Google button
link()  : mixed
Renders a hyperlink that behaves like a button
linkedin()  : mixed
Renders a sign in with LinkedIn button
pinterest()  : mixed
Renders a sign in with Pinterest button
pocket()  : mixed
Renders a Pocket button
reddit()  : mixed
Renders a Reddit button
standard()  : mixed
Renders a standard button on the page
submit()  : mixed
Renders a submit button on the page
twitch()  : mixed
Renders a sign in with Twitch button
twitter()  : mixed
Renders a sign in with Twitter button
vk()  : mixed
Renders a vk button
xing()  : mixed
Renders a xing button
social()  : mixed
Renders a social button on the page based on the type given

Properties

$fd

protected mixed $fd = null

Methods

__construct()

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

apple()

Renders a sign in with Apple button

public apple([mixed $text = '' ][, mixed $options = [] ][, mixed $size = 'sm' ]) : mixed
Parameters
$text : mixed = ''
$options : mixed = []
$size : mixed = 'sm'
Tags
since
1.0.0
access

public

email()

Renders an e-mail social button

public email([mixed $text = '' ][, mixed $options = [] ][, mixed $size = 'sm' ]) : mixed
Parameters
$text : mixed = ''
$options : mixed = []
$size : mixed = 'sm'
Tags
since
1.1.3
access

public

facebook()

Renders a sign in with Facebook button

public facebook([mixed $text = '' ][, mixed $options = [] ][, mixed $size = 'sm' ]) : mixed
Parameters
$text : mixed = ''
$options : mixed = []
$size : mixed = 'sm'
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

google()

Renders a sign in with Google button

public google([mixed $text = '' ][, mixed $options = [] ][, mixed $size = 'sm' ]) : mixed
Parameters
$text : mixed = ''
$options : mixed = []
$size : mixed = 'sm'
Tags
since
1.0.0
access

public

Renders a hyperlink that behaves like a button

public link(mixed $link, mixed $text[, mixed $class = 'default' ][, mixed $size = 'default' ][, mixed $options = [] ][, mixed $newWindow = false ]) : mixed
Parameters
$link : mixed
$text : mixed
$class : mixed = 'default'
$size : mixed = 'default'
$options : mixed = []
$newWindow : mixed = false
Tags
since
1.0.0
access

public

linkedin()

Renders a sign in with LinkedIn button

public linkedin([mixed $text = '' ][, mixed $options = [] ][, mixed $size = 'sm' ]) : mixed
Parameters
$text : mixed = ''
$options : mixed = []
$size : mixed = 'sm'
Tags
since
1.0.0
access

public

pinterest()

Renders a sign in with Pinterest button

public pinterest([mixed $text = '' ][, mixed $options = [] ][, mixed $size = 'sm' ]) : mixed
Parameters
$text : mixed = ''
$options : mixed = []
$size : mixed = 'sm'
Tags
since
1.0.0
access

public

pocket()

Renders a Pocket button

public pocket([mixed $text = '' ][, mixed $options = [] ][, mixed $size = 'sm' ]) : mixed
Parameters
$text : mixed = ''
$options : mixed = []
$size : mixed = 'sm'
Tags
since
1.0.0
access

public

reddit()

Renders a Reddit button

public reddit([mixed $text = '' ][, mixed $options = [] ][, mixed $size = 'sm' ]) : mixed
Parameters
$text : mixed = ''
$options : mixed = []
$size : mixed = 'sm'
Tags
since
1.0.0
access

public

standard()

Renders a standard button on the page

public standard(mixed $text[, mixed $class = 'default' ][, mixed $size = 'default' ][, mixed $options = [] ]) : mixed
Parameters
$text : mixed
$class : mixed = 'default'
$size : mixed = 'default'
$options : mixed = []
Tags
since
1.0.0
access

public

submit()

Renders a submit button on the page

public submit(mixed $text[, mixed $class = 'default' ][, mixed $size = 'default' ][, mixed $options = [] ]) : mixed
Parameters
$text : mixed
$class : mixed = 'default'
$size : mixed = 'default'
$options : mixed = []
Tags
since
1.0.0
access

public

twitch()

Renders a sign in with Twitch button

public twitch([mixed $text = '' ][, mixed $options = [] ][, mixed $size = 'sm' ]) : mixed
Parameters
$text : mixed = ''
$options : mixed = []
$size : mixed = 'sm'
Tags
since
1.0.0
access

public

twitter()

Renders a sign in with Twitter button

public twitter([mixed $text = '' ][, mixed $options = [] ][, mixed $size = 'sm' ]) : mixed
Parameters
$text : mixed = ''
$options : mixed = []
$size : mixed = 'sm'
Tags
since
1.0.0
access

public

vk()

Renders a vk button

public vk([mixed $text = '' ][, mixed $options = [] ][, mixed $size = 'sm' ]) : mixed
Parameters
$text : mixed = ''
$options : mixed = []
$size : mixed = 'sm'
Tags
since
1.0.0
access

public

xing()

Renders a xing button

public xing([mixed $text = '' ][, mixed $options = [] ][, mixed $size = 'sm' ]) : mixed
Parameters
$text : mixed = ''
$options : mixed = []
$size : mixed = 'sm'
Tags
since
1.0.0
access

public

social()

Renders a social button on the page based on the type given

private social(mixed $type, mixed $icon, mixed $text[, mixed $size = 'sm' ][, mixed $options = [] ]) : mixed
Parameters
$type : mixed
$icon : mixed
$text : mixed
$size : mixed = 'sm'
$options : mixed = []
Tags
since
1.0.0
access

public


        
On this page

Search results