YaWK
24.1
Yet another WebKit
|
Pinterest Pin Widget. More...
Public Member Functions | |
__construct ($db) | |
Load all widget settings from database and fill object. More... | |
embedPinterestProfile () | |
Embed Pinterest Profile. More... | |
init () | |
Init pinterest profile widget and call embed method. 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 | |
$pinterestProfileHeading = '' | |
$pinterestProfileHeight = 500 | |
$pinterestProfileSubtext = '' | |
$pinterestProfileUrl ="https://www.pinterest.com/pin/99360735500167749/" | |
$pinterestProfileWidth = 900 | |
$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 Pin Widget.
Pinterest Pin - embed a single pin on your page
Use this widget to embed any single pin on your page. To get this widget to work, enter any public pin url. Description can be shown or hidden, the size of your pin can be changed and heading and subtext could be added as well.
Definition at line 16 of file pinterest_profile.php.
YAWK\WIDGETS\PINTEREST\PROFILE\pinterestProfile::__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 36 of file pinterest_profile.php.
References $db, $settings, $value, and YAWK\widget\getWidgetSettingsArray().
YAWK\WIDGETS\PINTEREST\PROFILE\pinterestProfile::embedPinterestProfile | ( | ) |
Embed Pinterest Profile.
Embed Pinterest Profile
Definition at line 60 of file pinterest_profile.php.
Referenced by YAWK\WIDGETS\PINTEREST\PROFILE\pinterestProfile\init().
YAWK\WIDGETS\PINTEREST\PROFILE\pinterestProfile::init | ( | ) |
Init pinterest profile widget and call embed method.
Embed any public Pinterest Profile
Definition at line 50 of file pinterest_profile.php.
References YAWK\WIDGETS\PINTEREST\PROFILE\pinterestProfile\embedPinterestProfile(), and YAWK\widget\getHeading().
YAWK\WIDGETS\PINTEREST\PROFILE\pinterestProfile::$pinterestProfileHeading = '' |
string | Title that will be shown above widget |
Definition at line 21 of file pinterest_profile.php.
YAWK\WIDGETS\PINTEREST\PROFILE\pinterestProfile::$pinterestProfileHeight = 500 |
int | Profile Heightin pixels |
Definition at line 29 of file pinterest_profile.php.
YAWK\WIDGETS\PINTEREST\PROFILE\pinterestProfile::$pinterestProfileSubtext = '' |
string | Subtext will be displayed beside title |
Definition at line 23 of file pinterest_profile.php.
YAWK\WIDGETS\PINTEREST\PROFILE\pinterestProfile::$pinterestProfileUrl ="https://www.pinterest.com/pin/99360735500167749/" |
string | The URL of your pinterest channel |
Definition at line 25 of file pinterest_profile.php.
YAWK\WIDGETS\PINTEREST\PROFILE\pinterestProfile::$pinterestProfileWidth = 900 |
int | Profile Width in pixels |
Definition at line 27 of file pinterest_profile.php.
YAWK\WIDGETS\PINTEREST\PROFILE\pinterestProfile::$widget = '' |
object | global widget object data |
Definition at line 19 of file pinterest_profile.php.