YaWK
24.1
Yet another WebKit
|
Embed Twitter Timeline as grid. More...
Public Member Functions | |
__construct ($db) | |
Load all widget settings from database and fill object. More... | |
init () | |
Init Twitter 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 | |
$twitterGridHeading = '' | |
$twitterGridSubtext = '' | |
$twitterGridTweetLimit = "5" | |
$twitterGridUrl = "https://twitter.com/TwitterDev/timelines/539487832448843776" | |
$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 as grid.
Twitter Widget - embed Twitter Timeline as grid
Twitter Timelines can be embeded as grid view. 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 twitterGrid.php.
YAWK\WIDGETS\TWITTER\GRID\twitterGrid::__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 twitterGrid.php.
References $db, $settings, $value, and YAWK\widget\getWidgetSettingsArray().
YAWK\WIDGETS\TWITTER\GRID\twitterGrid::init | ( | ) |
Init Twitter widget.
Twitter Widget Init
Definition at line 48 of file twitterGrid.php.
References YAWK\widget\getHeading().
YAWK\WIDGETS\TWITTER\GRID\twitterGrid::$twitterGridHeading = '' |
string | Title that will be shown above widget |
Definition at line 21 of file twitterGrid.php.
YAWK\WIDGETS\TWITTER\GRID\twitterGrid::$twitterGridSubtext = '' |
string | Subtext will be displayed beside title |
Definition at line 23 of file twitterGrid.php.
YAWK\WIDGETS\TWITTER\GRID\twitterGrid::$twitterGridTweetLimit = "5" |
string | How many tweets (latest n) |
Definition at line 27 of file twitterGrid.php.
YAWK\WIDGETS\TWITTER\GRID\twitterGrid::$twitterGridUrl = "https://twitter.com/TwitterDev/timelines/539487832448843776" |
string | URL of your twitter timeline |
Definition at line 25 of file twitterGrid.php.
YAWK\WIDGETS\TWITTER\GRID\twitterGrid::$widget = '' |
object | global widget object data |
Definition at line 19 of file twitterGrid.php.