scriptlessSocialsharing
in package
Static class wrapper
Tags
Table of Contents
Methods
- CSS() : mixed
- getButtons() : array<string|int, mixed>
- Gets an array with the buttons information
- printButtons() : mixed
- Place this where you wish the buttons to appear. The plugin includes also jQUery calls to set the buttons up to allow multiple button sets per page.
Methods
CSS()
public
static CSS() : mixed
getButtons()
Gets an array with the buttons information
public
static getButtons([string $beforetext = '' ][, string $customtext = null ]) : array<string|int, mixed>
Parameters
- $beforetext : string = ''
-
Text to be displayed before the sharing list. HTML code allowed. Default empty
- $customtext : string = null
-
Custom text to share to override the internalt share text generation via current page
Return values
array<string|int, mixed>printButtons()
Place this where you wish the buttons to appear. The plugin includes also jQUery calls to set the buttons up to allow multiple button sets per page.
public
static printButtons([string $text = '' ][, string $customtext = null ][, mixed $iconsonly = null ]) : mixed
Parameters
- $text : string = ''
-
Text to be displayed before the sharing list. HTML code allowed. Default empty
- $customtext : string = null
-
Custom text to share to override the internalt share text generation via current page
- $iconsonly : mixed = null