User Tools

Site Tools


playground:playground

This is an old revision of the document!


PlayGround

Gmaps

bootstrap plugin

muted primary success info warning danger

Look, I'm in a well!

Title of Panel

Subtitle

Panel content

Info plugins

Action plugins

syntax plugins

Helper plugins

Helper methods

geoPHP plugin for DokuWiki

Provides access to the geoPHP library available at https://github.com/funiq/geoPHP.

$geophp = plugin_load('helper', 'geophp');

OpenLayers map plugin for DokuWiki

Provides a syntax for rendering an OpenLayers based map in a wiki page.. Uses OpenLayers: branch master SHA1 e85a087c8fb857648aa7c5e4f771d1d2a13fc48b

$openlayersmap_staticmap = plugin_load('helper', 'openlayersmap_staticmap');

$openlayersmap_staticmap->getMap()

Descriptionreturns url to the image
Parameterslatfloat
lonfloat
zoominteger
sizestring
maptypestring
markersstring
gpxstring
kmlstring
geojsonstring
apikeystring
Return valueimagestring

Pagelist Plugin

Lists pages in a nice formatted way

$pagelist = plugin_load('helper', 'pagelist');

$pagelist->addColumn()

Descriptionadds an extra column for plugin data
Parametersplugin namestring
column keystring

$pagelist->setFlags()

Descriptionoverrides standard values for showfooter and firstseconly settings
Parametersflagsarray
Return valuesuccessboolean

$pagelist->startList()

Descriptionprepares the table header for the page list

$pagelist->addPage()

Descriptionadds a page to the list
Parameterspage attributes, 'id' required, others optionalarray

$pagelist->finishList()

Descriptionreturns the XHTML output
Return valuexhtmlstring
playground/playground.1487819741.txt.gz · Last modified: 2017/02/22 21:15 by rfile