Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Authentication
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Strategies
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Storages
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Extensions
    • Customers
    • Emails
    • Geschaeftskundenversand
    • Helpers
    • Invoices
    • Orders
    • ParcelShopFinder
    • QuickEdit
    • Serializers
    • Templates
  • Geschaeftskundenversand
    • Exceptions
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • OrderStatus
    • Collections
    • Entities
    • Exceptions
    • Factories
    • Interfaces
    • Repositories
  • Precheck
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • QuickEdit
    • Interfaces
    • Repositories
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Slider
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository
  • VersionInfo
    • Factories
    • Reader
    • ValueObjects

Classes

  • CartController
  • CartDropdownController
  • CartShippingCostsController
  • CheckQuantityController
  • CheckStatusController
  • CookieBarController
  • CreateGuestController
  • CreateRegistreeController
  • ExtraContentController
  • FilterController
  • ImageRequestController
  • JsConfigurationController
  • JsTranslationsController
  • LiveSearchController
  • ParcelshopfinderController
  • PayPalConfigurationController
  • PayPalController
  • ProductQuestionController
  • SharedShoppingCartConfigurationController
  • SharedShoppingCartController
  • ShipcloudController
  • StyleEdit3AuthenticationController
  • WishListController

Class ParcelshopfinderController

Class ParcelshopfinderController

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

Methods summary

protected
# init( )
public HttpControllerResponseInterface
# actionDefault( )

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.

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.

Every action method have to return an instance which implements the http controller response interface.

Returns

HttpControllerResponseInterface

Overrides

HttpViewController::actionDefault
protected
# _getSearchResultOutput( $country, $city, $zip, $house, $street )
public
# actionAddAddressBookEntry( )
public
# actionValidatePostnumber( )
public boolean
# isValidPostnummer( $postnum )

checks validity of a DHL post number

checks validity of a DHL post number

Parameters

$postnum
post number (up to 10 digits)

Returns

boolean
true if $postnum represents a (syntactically) valid post number
protected CustomerCountry
# findCountryByIso2( $iso2 )

finds a country by its 2-letter ISO code

finds a country by its 2-letter ISO code

Parameters

$iso2
2-letter ISO code

Returns

CustomerCountry

Todo

To be refactored as soon as CountryService::findCountryByIso2() becomes available
protected
# makeMarkersJson( $psfList )
protected
# makeMapUrl( $psfList )
protected array
# splitStreet( string $street_address )

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

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

Parameters

$street_address

Returns

array
with keys 'street' and 'house_no'

Methods inherited from HttpViewController

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

Properties summary

protected ConfigurationStorage $configuration
#
protected LanguageTextManager $languageTextManager
#

Properties inherited from HttpViewController

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

API documentation generated by ApiGen