YaWK
24.1
Yet another WebKit
|
Embed Instagram on your page. More...
Public Member Functions | |
__construct ($db) | |
Load all widget settings from database and fill object. More... | |
embed () | |
init () | |
Init and embed Instagram. More... | |
printObject () | |
Print all object data. 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... | |
Public Attributes | |
$instagramHeading = '' | |
$instagramSubtext = '' | |
$instagramTarget = '' | |
$instagramUrl = '' | |
$instagramWidth = '' | |
$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... | |
Embed Instagram on your page.
Instagram Widget - embed any single instagram posting
If you want to embed instagram on your page, this is the widget to do it. All you need is a valid instagram url and (optional) some settings, like width or link target. Of course you can set a custom heading and subtext above posting.
Definition at line 16 of file instagram.php.
YAWK\WIDGETS\INSTAGRAM\POSTING\instagram::__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 instagram.php.
References $db, $settings, $value, and YAWK\widget\getWidgetSettingsArray().
YAWK\WIDGETS\INSTAGRAM\POSTING\instagram::embed | ( | ) |
Definition at line 66 of file instagram.php.
References YAWK\widget\getHeading().
Referenced by YAWK\WIDGETS\INSTAGRAM\POSTING\instagram\init().
YAWK\WIDGETS\INSTAGRAM\POSTING\instagram::init | ( | ) |
Init and embed Instagram.
Embed Google Maps
Definition at line 61 of file instagram.php.
References YAWK\WIDGETS\INSTAGRAM\POSTING\instagram\embed().
YAWK\WIDGETS\INSTAGRAM\POSTING\instagram::printObject | ( | ) |
Print all object data.
(for development and testing purpose)
Reimplemented from YAWK\widget.
Definition at line 50 of file instagram.php.
YAWK\WIDGETS\INSTAGRAM\POSTING\instagram::$instagramHeading = '' |
string | Heading above widget |
Definition at line 27 of file instagram.php.
YAWK\WIDGETS\INSTAGRAM\POSTING\instagram::$instagramSubtext = '' |
string | Subtext beside heading |
Definition at line 29 of file instagram.php.
YAWK\WIDGETS\INSTAGRAM\POSTING\instagram::$instagramTarget = '' |
string | Link target (_blank, _parent, _self) |
Definition at line 25 of file instagram.php.
YAWK\WIDGETS\INSTAGRAM\POSTING\instagram::$instagramUrl = '' |
string | Any valid instagram url |
Definition at line 21 of file instagram.php.
YAWK\WIDGETS\INSTAGRAM\POSTING\instagram::$instagramWidth = '' |
string | Width of your posting |
Definition at line 23 of file instagram.php.
YAWK\WIDGETS\INSTAGRAM\POSTING\instagram::$widget = '' |
object | global widget object data |
Definition at line 19 of file instagram.php.