YaWK
24.1
Yet another WebKit
|
Embed Twitter TweetButton. More...
Public Member Functions | |
__construct ($db) | |
Load all widget settings from database and fill object. More... | |
init () | |
Init Twitter TweetButton Widget. 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 | |
$twitterTweetButtonHeading = '' | |
$twitterTweetButtonSubtext = '' | |
$twitterTweetButtonText = "" | |
$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 Twitter TweetButton.
Twitter TweetButton Widget - embed Twitter TweetButton
Embed Twitter TweetButton. All you need is the URL of your TweetButton and the amount of items you wish to embed. You will get the latest TweetButtons.
Definition at line 16 of file twitterTweetButton.php.
YAWK\WIDGETS\TWITTER\BUTTON\twitterTweetButton::__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 32 of file twitterTweetButton.php.
References $db, $settings, $value, and YAWK\widget\getWidgetSettingsArray().
YAWK\WIDGETS\TWITTER\BUTTON\twitterTweetButton::init | ( | ) |
Init Twitter TweetButton Widget.
Embed a single TweetButton from twitter
Definition at line 46 of file twitterTweetButton.php.
References YAWK\widget\getHeading().
YAWK\WIDGETS\TWITTER\BUTTON\twitterTweetButton::$twitterTweetButtonHeading = '' |
string | Title that will be shown above widget |
Definition at line 21 of file twitterTweetButton.php.
YAWK\WIDGETS\TWITTER\BUTTON\twitterTweetButton::$twitterTweetButtonSubtext = '' |
string | Subtext will be displayed beside title |
Definition at line 23 of file twitterTweetButton.php.
YAWK\WIDGETS\TWITTER\BUTTON\twitterTweetButton::$twitterTweetButtonText = "" |
string | Text |
Definition at line 25 of file twitterTweetButton.php.
YAWK\WIDGETS\TWITTER\BUTTON\twitterTweetButton::$widget = '' |
object | global widget object data |
Definition at line 19 of file twitterTweetButton.php.