SocialButton Class [PHP]

Summary

Properties Description
Action Set button's text.
DarkColor Set whether button is in dark mode.
Font Set the font for facebook button.
ImageSrc Change image for button.
Layout Set layout of facebook button.
SendButton Set whether send button is shown.
ShowFaces Set the height of the button.
ShowFaces Set the height of the button.
Text Set the text on button.
ToolTip Set the tooltip when mouse hovers.
Width Set the width for Facebook button.
Methods Description
__construct

Properties Detail

ActionTop

string Action

Set button's text.

Allowed values :

  • "like" : Use [Like] button
  • "recommend" : Use [Recommend] button

Show/Hide Code

Supported from version: 1.0.0.0

DarkColorTop

bool DarkColor

Set whether button is in dark mode. Default value is false.

Show/Hide Code

Supported from version: 1.0.0.0

FontTop

string Font

Set the font for facebook button.

Show/Hide Code

Supported from version: 1.0.0.0

ImageSrcTop

string ImageSrc

Change image for button.

Show/Hide Code

Supported from version: 1.0.0.0

LayoutTop

string Layout

Set layout of facebook button.

Allowed values :

  • "standard" : Standard button
  • "button_count" : Compact buttons with count
  • "box_count" : Button is laid vertically

Show/Hide Code

Supported from version: 1.0.0.0

SendButtonTop

bool SendButton

Set whether send button is shown. Default value is true.

Show/Hide Code

Supported from version: 1.0.0.0

ShowFacesTop

bool ShowFaces

Set the height of the button.

Show/Hide Code

Supported from version: 1.0.0.0

ShowFacesTop

bool ShowFaces

Set the height of the button.

Show/Hide Code

Supported from version: 1.0.0.0

TextTop

string Text

Set the text on button.

Show/Hide Code

Supported from version: 1.0.0.0

ToolTipTop

string ToolTip

Set the tooltip when mouse hovers.

Show/Hide Code

Supported from version: 1.0.0.0

WidthTop

string Width

Set the width for Facebook button.

Show/Hide Code

Supported from version: 1.0.0.0

Methods Detail

__constructTop

void __construct()

Show/Hide Code

Supported from version: 1.0.0.0