Overview

Namespaces

  • None
  • WPGMZA
    • CustomFieldFilterWidget
    • Integration
    • MarkerListing
    • Selector

Classes

  • AddMapDialog
  • AdminMarkerDataTable
  • AjaxTable
  • AutoLoader
  • Categories
  • Category
  • CategoryTree
  • CategoryTreeNode
  • ContentEditorMapButton
  • Crud
  • CustomFieldFilter
  • CustomFieldFilterController
  • CustomFieldFilterWidget
  • CustomFields
  • CustomFieldsPage
  • CustomMapObjectFields
  • CustomMarkerFields
  • Database
  • DataTable
  • Distance
  • DOMDocument
  • DOMElement
  • Export
  • Factory
  • FontAwesomeIconPicker
  • GDPRCompliance
  • GlobalSettings
  • GoogleGeocoder
  • GoogleMap
  • GoogleMapsAPILoader
  • GoogleMapsLoader
  • GoogleProMapsLoader
  • Import
  • ImportCSV
  • ImportGPX
  • ImportJSON
  • ImportKML
  • LatLng
  • Map
  • MapSelect
  • MapsEngineDialog
  • Marker
  • MarkerDataTable
  • MarkerFilter
  • MarkerLibraryDialog
  • MarkerListing
  • ModalDialog
  • NominatimGeocodeCache
  • OLLoader
  • OLProLoader
  • Plugin
  • ProAdminMarkerDataTable
  • ProMap
  • ProMarker
  • ProMarkerFilter
  • ProPlugin
  • ProRestAPI
  • Query
  • QueryFragment
  • RestAPI
  • ScriptLoader
  • Strings
  • Table

Functions

  • add_custom_filter_widgets
  • create_marker_instance_delegate
  • custom_field_filter_get_filtered_marker_ids
  • get_custom_field_filter
  • get_custom_field_filter_controller
  • get_custom_field_filter_widget
  • get_marker_custom_fields
  • import_ajax_delete_schedule
  • import_ajax_file_options
  • import_ajax_handle_delete
  • import_ajax_handle_upload
  • import_ajax_import
  • import_ajax_schedule
  • import_cron_import
  • import_cron_schedules
  • import_export_admin_options
  • import_export_admin_tabs
  • import_export_download
  • import_export_get_maps_list
  • import_get_progress
  • import_get_schedule
  • import_mimes
  • import_wp_check_filetype_and_ext
  • load_advanced_menu_page_hooks
  • query_nominatim_cache
  • show_custom_fields_page
  • store_nominatim_cache
  • Overview
  • Namespace
  • Class

Class ProMarker

This class represents a marker

WPGMZA\Factory
Extended by WPGMZA\Crud implements IteratorAggregate, JsonSerializable
Extended by WPGMZA\Marker implements JsonSerializable
Extended by WPGMZA\ProMarker
Namespace: WPGMZA
Located at class.pro-marker.php
Methods summary
public
# __construct( integer|array|object $id_or_fields = -1 )

Constructor

Constructor

Parameters

$id_or_fields
integer ID to read a marker, or an array or object to read data from to create a new one. If this argument is not specified, a new marker will be created.

Overrides

WPGMZA\Marker::__construct()
public array
# jsonSerialize( )

Returns a clone of this marker for JSON serialization. Unsets latlng binary spatial data which corrupts JSON, and sets custom field data.

Returns a clone of this marker for JSON serialization. Unsets latlng binary spatial data which corrupts JSON, and sets custom field data.

Returns

array
A JSON representation of this marker, without spatial data and with custom field ata.

Throws

Exception

Overrides

WPGMZA\Marker::jsonSerialize()
public static
# getIconSQL( $map_id = null, $as_html_tag = false )
Methods inherited from WPGMZA\Marker
__set(), create_instance(), getColumns(), getPosition(), get_arbitrary_data_column_name(), get_column_parameter(), get_placeholder_by_type(), get_table_name_static(), update(), update_latlng()
Methods inherited from WPGMZA\Crud
__get(), __isset(), __unset(), assert_not_trashed(), bulk_read(), bulk_trash(), column_exists(), create(), getIterator(), get_column_names(), get_column_parameters(), get_column_placeholders(), get_column_type(), get_columns(), get_table_name(), is_read_only(), parse_arbitrary_data(), read(), set(), store_arbitrary_data(), trash()
Methods inherited from WPGMZA\Factory
createInstance()
Constants inherited from WPGMZA\Marker
DEFAULT_ICON
Constants inherited from WPGMZA\Crud
BULK_READ, SINGLE_READ
Properties inherited from WPGMZA\Marker
$custom_fields
API documentation generated by ApiGen