# 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
  WPGMZA\Table
  WPGMZA\AjaxTable
  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 | # ``