YaWK
24.1
Yet another WebKit
|
Embed Twitter Timeline. More...
Public Member Functions | |
__construct ($db) | |
Load all widget settings from database and fill object. More... | |
init () | |
Init Twitter Timeline Widget. 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 | |
$twitterTimelineHeading = '' | |
$twitterTimelineSubtext = '' | |
$twitterTimelineTweetLimit = "5" | |
$twitterTimelineUrl = "https://twitter.com/danielretzl" | |
$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... | |
Embed Twitter Timeline.
Twitter Timeline Widget - embed Twitter Timeline
Embed Twitter Timeline. All you need is the URL of your twitter timeline and the amount of items you wish to embed. You will get the latest tweets.
Definition at line 16 of file twitterTimeline.php.
YAWK\WIDGETS\TWITTER\TIMELINE\twitterTimeline::__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 34 of file twitterTimeline.php.
References $db, $settings, $value, and YAWK\widget\getWidgetSettingsArray().
YAWK\WIDGETS\TWITTER\TIMELINE\twitterTimeline::init | ( | ) |
Init Twitter Timeline Widget.
Twitter Timeline Widget Init
Definition at line 48 of file twitterTimeline.php.
References YAWK\widget\getHeading().
YAWK\WIDGETS\TWITTER\TIMELINE\twitterTimeline::$twitterTimelineHeading = '' |
string | Title that will be shown above widget |
Definition at line 21 of file twitterTimeline.php.
YAWK\WIDGETS\TWITTER\TIMELINE\twitterTimeline::$twitterTimelineSubtext = '' |
string | Subtext will be displayed beside title |
Definition at line 23 of file twitterTimeline.php.
YAWK\WIDGETS\TWITTER\TIMELINE\twitterTimeline::$twitterTimelineTweetLimit = "5" |
string | How many tweets (latest n) |
Definition at line 27 of file twitterTimeline.php.
YAWK\WIDGETS\TWITTER\TIMELINE\twitterTimeline::$twitterTimelineUrl = "https://twitter.com/danielretzl" |
string | URL of your twitter timeline |
Definition at line 25 of file twitterTimeline.php.
YAWK\WIDGETS\TWITTER\TIMELINE\twitterTimeline::$widget = '' |
object | global widget object data |
Definition at line 19 of file twitterTimeline.php.