ZenphotoCMS 1.6.1

scriptlessSocialsharing

Static class wrapper

Tags
since
1.5

Table of Contents

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

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
Return values
mixed

Search results