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... | |
embedPinterestPin () | |
Embed Pinterest Pin. More... | |
init () | |
Init pinterest pin widget and call embed method. More... | |
Public Member Functions inherited from YAWK\widget | |
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 | |
$pinterestPinHeading = '' | |
$pinterestPinHideDescription = 'data-pin-terse="true"' | |
$pinterestPinSize ="large" | |
$pinterestPinSubtext = '' | |
$pinterestPinUrl ="https://www.pinterest.com/pin/99360735500167749/" | |
$widget = '' | |
Public Attributes inherited from YAWK\widget | |
$data | |
$date_publish | |
$date_unpublish | |
$folder | |
$id | |
$marginBottom | |
$marginTop | |
$name | |
$pageID | |
$position | |
$published | |
$sort | |
$widgetTitle | |
$widgetType | |
Additional Inherited Members | |
Static Public Member Functions inherited from YAWK\widget | |
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_pin.php.
YAWK\WIDGETS\PINTEREST\PIN\pinterestPin::__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_pin.php.
References $db, $settings, $value, and YAWK\widget\getWidgetSettingsArray().
YAWK\WIDGETS\PINTEREST\PIN\pinterestPin::embedPinterestPin | ( | ) |
Embed Pinterest Pin.
Embed Pinterest Pin
Definition at line 60 of file pinterest_pin.php.
Referenced by YAWK\WIDGETS\PINTEREST\PIN\pinterestPin\init().
YAWK\WIDGETS\PINTEREST\PIN\pinterestPin::init | ( | ) |
Init pinterest pin widget and call embed method.
Embed any public Pinterest Pin
Definition at line 50 of file pinterest_pin.php.
References YAWK\WIDGETS\PINTEREST\PIN\pinterestPin\embedPinterestPin(), and YAWK\widget\getHeading().
YAWK\WIDGETS\PINTEREST\PIN\pinterestPin::$pinterestPinHeading = '' |
string | Title that will be shown above widget |
Definition at line 21 of file pinterest_pin.php.
YAWK\WIDGETS\PINTEREST\PIN\pinterestPin::$pinterestPinHideDescription = 'data-pin-terse="true"' |
string | The URL of your pinterest channel |
Definition at line 29 of file pinterest_pin.php.
YAWK\WIDGETS\PINTEREST\PIN\pinterestPin::$pinterestPinSize ="large" |
string | The URL of your pinterest channel |
Definition at line 27 of file pinterest_pin.php.
YAWK\WIDGETS\PINTEREST\PIN\pinterestPin::$pinterestPinSubtext = '' |
string | Subtext will be displayed beside title |
Definition at line 23 of file pinterest_pin.php.
YAWK\WIDGETS\PINTEREST\PIN\pinterestPin::$pinterestPinUrl ="https://www.pinterest.com/pin/99360735500167749/" |
string | The URL of your pinterest channel |
Definition at line 25 of file pinterest_pin.php.
YAWK\WIDGETS\PINTEREST\PIN\pinterestPin::$widget = '' |
object | global widget object data |
Definition at line 19 of file pinterest_pin.php.