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 CustomFields

This class deals with custom fields in general, as opposed to custom fields concerning a specific object.

WPGMZA\CustomFields implements IteratorAggregate, JsonSerializable, Countable
Namespace: WPGMZA
Located at custom-fields/class.custom-fields.php
Methods summary
public
# __construct( $map_id = null )
public static
# install( )

Installs the DB tables for custom fields

Installs the DB tables for custom fields

public static boolean
# installed( )

Returns true if the custom fields tables are installed, caches the result of the DB query for performance. TODO: Modify this to count instead so that adding polygon tables etc. will be done

Returns true if the custom fields tables are installed, caches the result of the DB query for performance. TODO: Modify this to count instead so that adding polygon tables etc. will be done

Returns

boolean
public ArrayIterator
# getIterator( )

Get iterator for looping over fields with foreach

Get iterator for looping over fields with foreach

Returns

ArrayIterator

Implementation of

IteratorAggregate::getIterator()
public array
# jsonSerialize( )

Gets the fields to be serialized as JSON, useful for export

Gets the fields to be serialized as JSON, useful for export

Returns

array

Implementation of

JsonSerializable::jsonSerialize()
public
# count( )

Implementation of

Countable::count()
API documentation generated by ApiGen