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
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
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
getTemplate()
Central method to generate a new theme object so that we can centralize and inject variables into the library
public
getTemplate() : mixed
Tags
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
link()
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
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
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
pocket()
Renders a Pocket button
public
pocket([mixed $text = '' ][, mixed $options = [] ][, mixed $size = 'sm' ]) : mixed
Parameters
- $text : mixed = ''
- $options : mixed = []
- $size : mixed = 'sm'
Tags
reddit()
Renders a Reddit button
public
reddit([mixed $text = '' ][, mixed $options = [] ][, mixed $size = 'sm' ]) : mixed
Parameters
- $text : mixed = ''
- $options : mixed = []
- $size : mixed = 'sm'
Tags
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
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
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
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
vk()
Renders a vk button
public
vk([mixed $text = '' ][, mixed $options = [] ][, mixed $size = 'sm' ]) : mixed
Parameters
- $text : mixed = ''
- $options : mixed = []
- $size : mixed = 'sm'
Tags
xing()
Renders a xing button
public
xing([mixed $text = '' ][, mixed $options = [] ][, mixed $size = 'sm' ]) : mixed
Parameters
- $text : mixed = ''
- $options : mixed = []
- $size : mixed = 'sm'
Tags
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 = []