YaWK
24.1
Yet another WebKit
|
Pinterest Follow Widget. More...
Public Member Functions | |
__construct ($db) | |
Load all widget settings from database and fill object. More... | |
embedPinterestFollow () | |
Embed Pinterest Follow Button. More... | |
init () | |
Init example widget and call a function for demo purpose. 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 | |
$pinterestFollowHeading = '' | |
$pinterestFollowSubtext = '' | |
$pinterestFollowUrl = '' | |
$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... | |
Pinterest Follow Widget.
Pinterest Follow Widget - add a follow me on pinterest button to your page.
If you want to pay attention to your pinterest channel, embed this widget. All you need to enter is any pinterest url to follow. Like any other widget, you can add a heading and a subtext that will be displayed above this widget.
Definition at line 16 of file pinterest_follow.php.
YAWK\WIDGETS\PINTEREST\FOLLOW\pinterestFollow::__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 32 of file pinterest_follow.php.
References $db, $settings, $value, and YAWK\widget\getWidgetSettingsArray().
YAWK\WIDGETS\PINTEREST\FOLLOW\pinterestFollow::embedPinterestFollow | ( | ) |
Embed Pinterest Follow Button.
Embed Pinterest Follow Button
Definition at line 56 of file pinterest_follow.php.
Referenced by YAWK\WIDGETS\PINTEREST\FOLLOW\pinterestFollow\init().
YAWK\WIDGETS\PINTEREST\FOLLOW\pinterestFollow::init | ( | ) |
Init example widget and call a function for demo purpose.
Example Widget Init
Definition at line 46 of file pinterest_follow.php.
References YAWK\WIDGETS\PINTEREST\FOLLOW\pinterestFollow\embedPinterestFollow(), and YAWK\widget\getHeading().
YAWK\WIDGETS\PINTEREST\FOLLOW\pinterestFollow::$pinterestFollowHeading = '' |
string | Title that will be shown above widget |
Definition at line 21 of file pinterest_follow.php.
YAWK\WIDGETS\PINTEREST\FOLLOW\pinterestFollow::$pinterestFollowSubtext = '' |
string | Subtext will be displayed beside title |
Definition at line 23 of file pinterest_follow.php.
YAWK\WIDGETS\PINTEREST\FOLLOW\pinterestFollow::$pinterestFollowUrl = '' |
string | The URL of your pinterest channel |
Definition at line 25 of file pinterest_follow.php.
YAWK\WIDGETS\PINTEREST\FOLLOW\pinterestFollow::$widget = '' |
object | global widget object data |
Definition at line 19 of file pinterest_follow.php.