phpDocumentor

ActionMakeLabel extends AbstractAction
in package

Class AbstractAction

Table of Contents

LOGGING_NAMESPACE  = 'dhlreturns'
$textManager  : TextManager
$url  : Url
$connection  : Connection
$dhlConfigurationService  : DHLConfigurationService
$DHLReturnsService  : DHLReturnsService
$parcelServiceReadService  : ParcelServiceReadService
$path  : Path
$trackingCodeFactory  : TrackingCodeFactory
$trackingCodeWriteService  : TrackingCodeWriteService
__construct()  : mixed
__invoke()  : Response
This method will be called in order to process the incoming request.
handle()  : Response
Executes the business logic of the incoming request.
initAbstractAction()  : void
Module action initialization.
_getLanguageCodeByOrderId()  : string
translate()  : string
Translates the section phrase.

Constants

Properties

Methods

__construct()

public __construct(DHLConfigurationService $dhlConfigurationService, DHLReturnsService $DHLReturnsService, Path $path, TrackingCodeWriteService $trackingCodeWriteService, TrackingCodeFactory $trackingCodeFactory, ParcelServiceReadService $parcelServiceReadService, Connection $connection) : mixed
Parameters
$dhlConfigurationService : DHLConfigurationService
$DHLReturnsService : DHLReturnsService
$path : Path
$trackingCodeWriteService : TrackingCodeWriteService
$trackingCodeFactory : TrackingCodeFactory
$parcelServiceReadService : ParcelServiceReadService
$connection : Connection
Return values
mixed

_getLanguageCodeByOrderId()

protected _getLanguageCodeByOrderId(int $orderId) : string
Parameters
$orderId : int
Return values
string

translate()

Translates the section phrase.

protected translate(string $phrase, string $section[, int|null $languageId = null ]) : string
Parameters
$phrase : string
$section : string
$languageId : int|null = null
Return values
string

Search results