YaWK
24.1
Yet another WebKit
|
Embed a blog on your website. More...
Public Member Functions | |
__construct ($db) | |
Load all widget settings on object init. More... | |
drawBlogWidget ($db) | |
Draw the blog. More... | |
init ($db) | |
Init Gallery and load methods. More... | |
printObject () | |
Print all object data. More... | |
![]() | |
getHeading ($heading, $subtext) | |
Get widget heading and subtext, return headline. More... | |
getWidgetSettingsArray ($db) | |
Get widget settings and return it as array. More... | |
Public Attributes | |
$blogHeading = '' | |
$blogID = '' | |
$blogLimitEntries = '' | |
$blogSubtext = '' | |
$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 a blog on your website.
Embed plugin: blog
This is the widget to the blog plugin. With this widget you can embed any blog that you you've created before using the blog plugin. Simply set the ID of the blog you would like to embed, setup your settings, choose the position and page where you like to display your blog and you're good to go.
Definition at line 17 of file blogWidget.php.
YAWK\WIDGETS\BLOG\WIDGET\blogWidget::__construct | ( | $db | ) |
Load all widget settings on object init.
Load all widget settings from database and fill object
object | $db | Database Object |
Definition at line 39 of file blogWidget.php.
References $db, $settings, $value, and YAWK\widget\getWidgetSettingsArray().
YAWK\WIDGETS\BLOG\WIDGET\blogWidget::drawBlogWidget | ( | $db | ) |
Draw the blog.
db | object Database object |
(for development and testing purpose)
$db | \YAWK\db * |
$widget | \YAWK\widget |
Definition at line 76 of file blogWidget.php.
References $blog, YAWK\WIDGETS\BLOG\WIDGET\blogWidget\$blogID, $db, $templateID, YAWK\template\getCurrentTemplateId(), and YAWK\widget\getHeading().
Referenced by YAWK\WIDGETS\BLOG\WIDGET\blogWidget\init().
YAWK\WIDGETS\BLOG\WIDGET\blogWidget::init | ( | $db | ) |
Init Gallery and load methods.
load Javascript and draw image gallery
Definition at line 64 of file blogWidget.php.
References $db, and YAWK\WIDGETS\BLOG\WIDGET\blogWidget\drawBlogWidget().
YAWK\WIDGETS\BLOG\WIDGET\blogWidget::printObject | ( | ) |
Print all object data.
(for development and testing purpose)
Reimplemented from YAWK\widget.
Definition at line 53 of file blogWidget.php.
YAWK\WIDGETS\BLOG\WIDGET\blogWidget::$blogHeading = '' |
string | Title that will be shown above widget |
Definition at line 24 of file blogWidget.php.
YAWK\WIDGETS\BLOG\WIDGET\blogWidget::$blogID = '' |
int | Gallery ID |
Definition at line 22 of file blogWidget.php.
Referenced by YAWK\WIDGETS\BLOG\WIDGET\blogWidget\drawBlogWidget().
YAWK\WIDGETS\BLOG\WIDGET\blogWidget::$blogLimitEntries = '' |
int | Limit Entries (if 0 all items will be displayed) This can overrule the global blog setting and has only impact to the specific blog widget |
Definition at line 30 of file blogWidget.php.
YAWK\WIDGETS\BLOG\WIDGET\blogWidget::$blogSubtext = '' |
string | Subtext will be displayed beside title |
Definition at line 26 of file blogWidget.php.
YAWK\WIDGETS\BLOG\WIDGET\blogWidget::$widget = '' |
object | global widget object data |
Definition at line 20 of file blogWidget.php.