YaWK
24.1
Yet another WebKit
|
Facebook Like Button - embed a like button on your page. More...
Public Member Functions | |
__construct ($db) | |
Load all widget settings from database and fill object. More... | |
embedLikeButton () | |
init () | |
Init facebook like button. More... | |
![]() | |
getHeading ($heading, $subtext) | |
Get widget heading and subtext, return headline. More... | |
getWidgetSettingsArray ($db) | |
Get widget settings and return it as array. More... | |
printObject () | |
Print all object data. More... | |
Public Attributes | |
$fbLikeButtonAction = "like" | |
$fbLikeButtonAppID = "" | |
$fbLikeButtonColorscheme = "light" | |
$fbLikeButtonHeight = "35" | |
$fbLikeButtonLayout = "standard" | |
$fbLikeButtonShare = "false" | |
$fbLikeButtonShowFaces = "false" | |
$fbLikeButtonSize = "small" | |
$fbLikeButtonUrl = "http%3A%2F%2Fwww.facebook.com%2Fplatform" | |
$fbLikeButtonWidth = "450" | |
$widget = '' | |
![]() | |
$data | |
$date_publish | |
$date_unpublish | |
$folder | |
$id | |
$marginBottom | |
$marginTop | |
$name | |
$pageID | |
$position | |
$published | |
$sort | |
$widgetTitle | |
$widgetType | |
Additional Inherited Members | |
![]() | |
static | getAllSettingsIntoArray ($db, $widgetID) |
Returns an array with all widget settings data. More... | |
static | getAllWidgetTypes ($db) |
Return all widget types as associative array. More... | |
static | getCurrentWidgetPath ($db) |
return current widget path More... | |
static | getFacebookLikeBox () |
return the facebook likebox widget More... | |
static | getLoginBox () |
return the user login box widget More... | |
static | loadWidgetsOfPage ($db, $page) |
Returns an array of all widgets that are linked with given page->id. More... | |
Facebook Like Button - embed a like button on your page.
Facebook Like Button - embed a like button on your page
If you want to bring attention to your facebook page, you might want to add a 'like me on facebook' button to your page. With this widget, you can do that very easily. You can configure some settings, like width, height, layout, color scheme and much more.
Definition at line 17 of file fb_like_button.php.
YAWK\WIDGETS\FACEBOOK\LIKEBUTTON\fbLikeButton::__construct | ( | $db | ) |
Load all widget settings from database and fill object.
object | $db | Database Object |
Load all widget settings on object init.
Definition at line 37 of file fb_like_button.php.
References $db, $settings, $value, and YAWK\widget\getWidgetSettingsArray().
YAWK\WIDGETS\FACEBOOK\LIKEBUTTON\fbLikeButton::embedLikeButton | ( | ) |
Definition at line 56 of file fb_like_button.php.
Referenced by YAWK\WIDGETS\FACEBOOK\LIKEBUTTON\fbLikeButton\init().
YAWK\WIDGETS\FACEBOOK\LIKEBUTTON\fbLikeButton::init | ( | ) |
Init facebook like button.
Facebook Like Button
Definition at line 51 of file fb_like_button.php.
References YAWK\WIDGETS\FACEBOOK\LIKEBUTTON\fbLikeButton\embedLikeButton().
YAWK\WIDGETS\FACEBOOK\LIKEBUTTON\fbLikeButton::$fbLikeButtonAction = "like" |
Definition at line 27 of file fb_like_button.php.
YAWK\WIDGETS\FACEBOOK\LIKEBUTTON\fbLikeButton::$fbLikeButtonAppID = "" |
Definition at line 24 of file fb_like_button.php.
YAWK\WIDGETS\FACEBOOK\LIKEBUTTON\fbLikeButton::$fbLikeButtonColorscheme = "light" |
Definition at line 25 of file fb_like_button.php.
YAWK\WIDGETS\FACEBOOK\LIKEBUTTON\fbLikeButton::$fbLikeButtonHeight = "35" |
Definition at line 22 of file fb_like_button.php.
YAWK\WIDGETS\FACEBOOK\LIKEBUTTON\fbLikeButton::$fbLikeButtonLayout = "standard" |
Definition at line 26 of file fb_like_button.php.
YAWK\WIDGETS\FACEBOOK\LIKEBUTTON\fbLikeButton::$fbLikeButtonShare = "false" |
Definition at line 30 of file fb_like_button.php.
YAWK\WIDGETS\FACEBOOK\LIKEBUTTON\fbLikeButton::$fbLikeButtonShowFaces = "false" |
Definition at line 29 of file fb_like_button.php.
YAWK\WIDGETS\FACEBOOK\LIKEBUTTON\fbLikeButton::$fbLikeButtonSize = "small" |
Definition at line 28 of file fb_like_button.php.
YAWK\WIDGETS\FACEBOOK\LIKEBUTTON\fbLikeButton::$fbLikeButtonUrl = "http%3A%2F%2Fwww.facebook.com%2Fplatform" |
Definition at line 23 of file fb_like_button.php.
YAWK\WIDGETS\FACEBOOK\LIKEBUTTON\fbLikeButton::$fbLikeButtonWidth = "450" |
Definition at line 21 of file fb_like_button.php.
YAWK\WIDGETS\FACEBOOK\LIKEBUTTON\fbLikeButton::$widget = '' |
object | global widget object data |
Definition at line 20 of file fb_like_button.php.