YaWK
24.1
Yet another WebKit
|
spotify Widget (empty) for DEMO and development purpose! More...
Public Member Functions | |
__construct ($db) | |
Load all widget settings from database and fill object. More... | |
init () | |
Init spotify 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 | |
$spotifyEmbedCode ='' | |
$spotifyHeading = '' | |
$spotifyHeight ='' | |
$spotifySubtext = '' | |
$spotifyWidth ='' | |
$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... | |
spotify Widget (empty) for DEMO and development purpose!
Empty spotify Widget - for development and demo purpose
This widget is (nearly) empty. It can be used to understand the logic behind YaWK's widget system and/or is a great base to start and create your very own widget! Simply add the properties your application needs, add the database, build your own functions and your widget is ready to run the code as you need it.
Definition at line 17 of file spotify.php.
YAWK\WIDGETS\SPOTIFY\EMBED\spotify::__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 37 of file spotify.php.
References $db, $settings, $value, and YAWK\widget\getWidgetSettingsArray().
YAWK\WIDGETS\SPOTIFY\EMBED\spotify::init | ( | ) |
Init spotify widget.
spotify Widget Init
Definition at line 51 of file spotify.php.
References YAWK\WIDGETS\SPOTIFY\EMBED\spotify\$spotifyEmbedCode, and YAWK\widget\getHeading().
YAWK\WIDGETS\SPOTIFY\EMBED\spotify::$spotifyEmbedCode ='' |
Definition at line 26 of file spotify.php.
Referenced by YAWK\WIDGETS\SPOTIFY\EMBED\spotify\init().
YAWK\WIDGETS\SPOTIFY\EMBED\spotify::$spotifyHeading = '' |
string | Title that will be shown above widget |
Definition at line 22 of file spotify.php.
YAWK\WIDGETS\SPOTIFY\EMBED\spotify::$spotifyHeight ='' |
Definition at line 30 of file spotify.php.
YAWK\WIDGETS\SPOTIFY\EMBED\spotify::$spotifySubtext = '' |
string | Subtext will be displayed beside title |
Definition at line 24 of file spotify.php.
YAWK\WIDGETS\SPOTIFY\EMBED\spotify::$spotifyWidth ='' |
Definition at line 28 of file spotify.php.
YAWK\WIDGETS\SPOTIFY\EMBED\spotify::$widget = '' |
object | global widget object data |
Definition at line 20 of file spotify.php.