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 MarkerListing

The Factory class is a base class which can be used to make any classes externally extensible. A filter is added for wpgmza_create_{class} which is called by createInstance. If this filter returns a subclass of Factory, that filter will override the default class and will be used.

IMPORTANT: Any objects which subclass Factory MUST be created by calling createInstance on the subclass. Calling new on the constructor directly will not cause this filter to fire, and the extended class will not be used.

WPGMZA\Factory
Extended by WPGMZA\Table
Extended by WPGMZA\AjaxTable
Extended by WPGMZA\MarkerListing

Direct known subclasses

WPGMZA\MarkerListing\BasicList, WPGMZA\MarkerListing\BasicTable, WPGMZA\MarkerListing\Carousel, WPGMZA\MarkerListing\Modern
Namespace: WPGMZA
Located at marker-listings/class.marker-listing.php
Methods summary
public
# __construct( $map_id )

Overrides

WPGMZA\AjaxTable::__construct()
public
# __get( $name )

Overrides

WPGMZA\Table::__get()
protected
# getItemHTMLPath( )
public
# getColumns( )

Overrides

WPGMZA\AjaxTable::getColumns()
protected array
# filterColumns( & $columns, $input_params )

Override this function to add additional columns to the query

Override this function to add additional columns to the query

Returns

array

Overrides

WPGMZA\AjaxTable::filterColumns()
public string
# filterOrderBy( $orderBy, $keys )

Function can be used to override order by column

Function can be used to override order by column

Returns

string

Overrides

WPGMZA\AjaxTable::filterOrderBy()
public string
# filterOrderDirection( $input_params )

Function can be used to override order by column

Function can be used to override order by column

Returns

string

Overrides

WPGMZA\AjaxTable::filterOrderDirection()
public
# setAjaxParameters( $params )

Overrides

WPGMZA\AjaxTable::setAjaxParameters()
public
# getImageDimensions( )
protected
# removeHiddenFields( $item, $marker )
protected
# appendListingItem( $document, $item, $marker )
public static
# createInstanceFromStyle( $style, $map_id )
Methods inherited from WPGMZA\AjaxTable
data(), filterResults(), getAjaxParameters(), getAttributeParams(), getColumnNameByIndex(), getHavingClause(), getOrderBy(), getOrderDirection(), getRecords(), getRestAPIRoute(), getSearchClause(), getWhereClause(), setAttributeParams(), setRestAPIRoute()
Methods inherited from WPGMZA\Table
__set(), getElement(), html(), loadDocument()
Methods inherited from WPGMZA\Factory
createInstance()
Constants summary
integer STYLE_NONE
# 0
integer STYLE_BASIC_TABLE
# 1
integer STYLE_BASIC_LIST
# 4
integer STYLE_ADVANCED_TABLE
# 2
integer STYLE_CAROUSEL
# 3
integer STYLE_MODERN
# 6
integer ORDER_BY_ID
# 1
integer ORDER_BY_TITLE
# 2
integer ORDER_BY_ADDRESS
# 3
integer ORDER_BY_DESCRIPTION
# 4
integer ORDER_BY_CATEGORY
# 5
integer ORDER_BY_CATEGORY_PRIORITY
# 6
integer ORDER_BY_DISTANCE
# 7
integer ORDER_ASC
# 1
integer ORDER_DESC
# 2
Properties summary
protected $map
#
API documentation generated by ApiGen