phpDocumentor

AbstractProductDownloadAction extends AbstractAction

Class AbstractProductDownloadAction

Table of Contents

$textManager  : TextManager
$url  : Url
$connection  : Connection
__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.
addDownloadDataToArray()  : array<string|int, mixed>
assignDownloadData()  : void
downloadProductOptionIds()  : array<string|int, mixed>
setConnection()  : void
translate()  : string
Translates the section phrase.

Properties

Methods

addDownloadDataToArray()

protected addDownloadDataToArray(array<string|int, mixed> $downloadOption) : array<string|int, mixed>
Parameters
$downloadOption : array<string|int, mixed>
Return values
array<string|int, mixed>

assignDownloadData()

protected assignDownloadData(int $downloadId, string $filePath, int $maxDays, int $maxCount) : void
Parameters
$downloadId : int
$filePath : string
$maxDays : int
$maxCount : int
Return values
void

downloadProductOptionIds()

protected downloadProductOptionIds() : array<string|int, mixed>
Return values
array<string|int, mixed>

setConnection()

protected setConnection(Connection $connection) : void
Parameters
$connection : Connection
Return values
void

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