Class ParcelshopfinderController

Class ParcelshopfinderController

HttpViewController implements HttpViewControllerInterface
ParcelshopfinderController
Package: HttpViewControllers
Category: System
Extends: HttpViewController
Located at Controllers/HttpView/Shop/ParcelshopfinderController.inc.php

Methods summary

protected init( void )
public actionDefault( void ) : HttpControllerResponseInterface

Default action method. Every controller child class requires at least the default action method, which is invoked when the ::_getQueryParameterData('do') value is not separated by a trailing slash.

protected _getSearchResultOutput( $country, $city, $zip, $house, $street, $filter = 'both' )
protected applyFilter( array $psfList, $filter = 'both' )
public actionAddAddressBookEntry( void )
public actionValidatePostnumber( void )
public isValidPostnummer( $postnum ) : boolean

checks validity of a DHL post number

protected findCountryByIso2( $iso2 ) : CustomerCountry

finds a country by its 2-letter ISO code

protected makeMarkersJson( $psfList )
protected makeMapUrl( $psfList )
protected splitStreet( string $street_address ) : array

Heuristically splits up a street address into its component street name and house number

Methods inherited from HttpViewController

__construct(), _callActionMethod(), _getPostData(), _getPostDataCollection(), _getQueryParameter(), _getQueryParametersCollection(), _getServerData(), _render(), _validatePageToken(), getTemplateFile(), proceed()

Properties summary

protected $configuration : ConfigurationStorage

		
protected $languageTextManager : LanguageTextManager

		

Properties inherited from HttpViewController

$assets, $contentView, $httpContextReader, $httpResponseProcessor, $postDataArray, $queryParametersArray, $serverDataArray