Class AdvancedTable
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\DataTable
-
WPGMZA\MarkerDataTable
-
WPGMZA\MarkerListing\AdvancedTable
public
|
|
protected
|
|
protected
|
|
protected
array
|
#
getSearchClause( $input_params, & $query_params, $exclude_columns = null )
Exclude custom_field_* fields from search clause - they need to be in HAVING, not WHERE |
protected
array
|
#
filterColumns( & $columns, $input_params )
Override this function to add additional columns to the query |
protected
string
|
#
getHavingClause( $input_params, & $query_params, $exclude_columns = null )
Gets the HAVING clause for the table query |
protected
|
|
protected
|
|
protected
|
|
public
|
data(),
getDataTableOptions(),
initTableDOM(),
setDataTableOptions()
|
__get(),
__set(),
getElement(),
html(),
loadDocument()
|
createInstance()
|