YaWK
24.1
Yet another WebKit
|
Embed Google Maps on your page. More...
Public Member Functions | |
__construct ($db) | |
Load all widget settings from database and fill object. More... | |
embed () | |
init () | |
Init and embed Google Maps. 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 | |
$googleMapsEmbedHtmlCode = '' | |
$googleMapsHeading = '' | |
$googleMapsSubtext = '' | |
$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 Google Maps on your page.
Google Maps Widget - Embed a Google Map on your page
This Widget serves all methods to draw any Google Map on your website. To do this: go to Google Maps, click on embed and you will get a piece of html code. Simply copy/paste the code into the textarea, click save and your google map will be displayed in your chosen widget position.
Definition at line 17 of file googleMaps.php.
YAWK\WIDGETS\GOOGLE\MAPS\googleMaps::__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 33 of file googleMaps.php.
References $db, $settings, $value, and YAWK\widget\getWidgetSettingsArray().
YAWK\WIDGETS\GOOGLE\MAPS\googleMaps::embed | ( | ) |
Definition at line 63 of file googleMaps.php.
References YAWK\WIDGETS\GOOGLE\MAPS\googleMaps\$googleMapsEmbedHtmlCode, and YAWK\widget\getHeading().
Referenced by YAWK\WIDGETS\GOOGLE\MAPS\googleMaps\init().
YAWK\WIDGETS\GOOGLE\MAPS\googleMaps::init | ( | ) |
Init and embed Google Maps.
Embed Google Maps
Definition at line 58 of file googleMaps.php.
References YAWK\WIDGETS\GOOGLE\MAPS\googleMaps\embed().
YAWK\WIDGETS\GOOGLE\MAPS\googleMaps::printObject | ( | ) |
Print all object data.
(for development and testing purpose)
Reimplemented from YAWK\widget.
Definition at line 47 of file googleMaps.php.
YAWK\WIDGETS\GOOGLE\MAPS\googleMaps::$googleMapsEmbedHtmlCode = '' |
string | the html code you'll get from google <iframe...> |
Definition at line 22 of file googleMaps.php.
Referenced by YAWK\WIDGETS\GOOGLE\MAPS\googleMaps\embed().
YAWK\WIDGETS\GOOGLE\MAPS\googleMaps::$googleMapsHeading = '' |
string | Heading above Google Map |
Definition at line 24 of file googleMaps.php.
YAWK\WIDGETS\GOOGLE\MAPS\googleMaps::$googleMapsSubtext = '' |
string | Subtext beside heading |
Definition at line 26 of file googleMaps.php.
YAWK\WIDGETS\GOOGLE\MAPS\googleMaps::$widget = '' |
object | global widget object data |
Definition at line 20 of file googleMaps.php.