\

Classes

GeoMashup The Geo Mashup static class.
GeoMashupCommentUIManager A manager for comment location user interfaces.
GeoMashupDB Static class to provide a namespace for Geo Mashup data functions.
GeoMashupGeonamesGeocoder HTTP geocoder using the geonames web services.
GeoMashupGoogleGeocoder HTTP geocoder using the Google geocoding web service
GeoMashupHttpGeocoder The Geo Mashup Http Geocoder base class.
GeoMashupNominatimGeocoder HTTP geocoder using the nominatim web service.
GeoMashupOptions A singleton to manage Geo Mashup saved options.
GeoMashupPostUIManager A manager for post/page location user interfaces.
GeoMashupQuery Class for query handling namespace
GeoMashupRenderMap Static class for map rendering namespace
GeoMashupSearch The Geo Mashup Search class.
GeoMashupSearchHandling Geo Mashup Search Handling class.
GeoMashupSearchWidget Class GeoMashupSearchWidget
GeoMashupUIManager A base class for managing user interfaces for collecting and storing location.
GeoMashupUserUIManager A manager for user location user interfaces.
GM_Int_List Utility class for compressing and expanding ID lists for inclusion in URLs.
GM_Location_Query Container class for a an object location query.
GM_Post_Query

Constants

GEO_MASHUP_DB_VERSION

GEO_MASHUP_DB_VERSION

GEO_MASHUP_DIR_PATH

GEO_MASHUP_DIR_PATH

GEO_MASHUP_DIRECTORY

GEO_MASHUP_DIRECTORY

GEO_MASHUP_MAX_ZOOM

GEO_MASHUP_MAX_ZOOM

GEO_MASHUP_PLUGIN_NAME

GEO_MASHUP_PLUGIN_NAME

GEO_MASHUP_URL_PATH

GEO_MASHUP_URL_PATH

GEO_MASHUP_VERSION

GEO_MASHUP_VERSION

Functions

geo_mashup_comment_default()

geo_mashup_comment_default(object $comment, array $args, mixed $depth)

Template callback for GeoMashupQuery::list_comments()

Use the newer form of template, where the individual comment template goes in a function that matches the callback argument to list_comments

Parameters

object $comment

The comment to display

array $args

Arguments from wp_list_comments

mixed $depth

Nested depth

geo_mashup_edit_form()

geo_mashup_edit_form(string $object_name, string $object_id, string $ui_manager)

Print the Geo Mashup location editor HTML for an object.

Goals for this interface are to make it usable for any kind of locatable object, to be usable without javascript, functional on the front end or admin, and eventually adaptable to editing multiple locations for an object.

It's assumed this will go inside an existing form for editing the object, such as the WordPress admin post edit form.

Parameters

string $object_name

The type of object, e.g. 'post', 'user', etc.

string $object_id

The ID of the object being edited.

string $ui_manager

Optionally the name of UI Manager class to use for AJAX operations.

geo_mashup_map()

geo_mashup_map(array $atts)

Map template tag alias.

Leave one old shortcode function in the global namespace, since Bruce used it with function_exists() in his implementation guide.

Parameters

array $atts

Shortcode arguments.

geo_mashup_options_page()

geo_mashup_options_page()

Print Geo Mashup Options HTML

geo_mashup_uninstall_db()

geo_mashup_uninstall_db()

Drop Geo Mashup database tables.

geo_mashup_uninstall_options()

geo_mashup_uninstall_options()

Delete Geo Mashup saved options.

geo_mashup_user_default_template()

geo_mashup_user_default_template(object $user)

Template callback for GeoMashupQuery::list_users()

Parameters

object $user

The user to display.