Shop_Discountcard_Export_Controller
in package
Shop_Discountcard_Export_Controller
Tags
Table of Contents
Properties
- $_aCurrentData : array<string|int, mixed>
- CSV data
- $_oShop : Shop_Model
- Shop object
Methods
- __construct() : mixed
- Constructor.
- execute() : mixed
- Executes the business logic.
- _prepareString() : string
- Prepare string
- _printRow() : self
- Print array
Properties
$_aCurrentData
CSV data
private
array<string|int, mixed>
$_aCurrentData
$_oShop
Shop object
private
Shop_Model
$_oShop
= \NULL
Methods
__construct()
Constructor.
public
__construct(Shop_Model $oShop) : mixed
Parameters
- $oShop : Shop_Model
execute()
Executes the business logic.
public
execute() : mixed
_prepareString()
Prepare string
protected
_prepareString(string $string) : string
Parameters
- $string : string
Return values
string_printRow()
Print array
protected
_printRow(array<string|int, mixed> $aData) : self
Parameters
- $aData : array<string|int, mixed>