ContentFilterShortCodeAddress
in package
implements
ContentFilterShortCode
render address short codes
Interfaces, Classes, Traits and Enums
Table of Contents
- $_pAddressListFactory : AddressListFactory
- $_pDataListFactory : DataListViewFactoryAddress
- $_pLogger : Logger
- $_pSearchParametersModelBuilder : SearchParametersModelBuilder
- $_pTemplate : Template
- $_pWPQueryWrapper : WPQueryWrapper
- __construct() : mixed
- ContentFilterShortCodeAddress constructor.
- getTag() : string
- replaceShortCodes() : string
- createTemplate() : Template
- populateWpLinkPagesArgs() : mixed
Properties
$_pAddressListFactory
private
AddressListFactory
$_pAddressListFactory
$_pDataListFactory
private
DataListViewFactoryAddress
$_pDataListFactory
$_pLogger
private
Logger
$_pLogger
$_pSearchParametersModelBuilder
private
SearchParametersModelBuilder
$_pSearchParametersModelBuilder
$_pTemplate
private
Template
$_pTemplate
$_pWPQueryWrapper
private
WPQueryWrapper
$_pWPQueryWrapper
Methods
__construct()
ContentFilterShortCodeAddress constructor.
public
__construct(SearchParametersModelBuilder $pSearchParametersModelBuilder, AddressListFactory $pAddressListFactory, Logger $pLogger, DataListViewFactoryAddress $pDataListFactory, Template $pTemplate, WPQueryWrapper $pWPQueryWrapper) : mixed
Parameters
- $pSearchParametersModelBuilder : SearchParametersModelBuilder
- $pAddressListFactory : AddressListFactory
- $pLogger : Logger
- $pDataListFactory : DataListViewFactoryAddress
- $pTemplate : Template
- $pWPQueryWrapper : WPQueryWrapper
Return values
mixed —getTag()
public
getTag() : string
Return values
string —replaceShortCodes()
public
replaceShortCodes(array<string|int, mixed> $attributesInput) : string
Parameters
- $attributesInput : array<string|int, mixed>
Return values
string —createTemplate()
private
createTemplate(string $addressListName) : Template
Parameters
- $addressListName : string
Tags
Return values
Template —populateWpLinkPagesArgs()
private
populateWpLinkPagesArgs(array<string|int, mixed> $filterableFields) : mixed
Parameters
- $filterableFields : array<string|int, mixed>