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
Supported from version: 1.0.0.0
DarkColorTop
bool DarkColor
Set whether button is in dark mode. Default value is false.
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
Supported from version: 1.0.0.0
SendButtonTop
bool SendButton
Set whether send button is shown. Default value is true.
Supported from version: 1.0.0.0