Documentation

ProductImportService extends Injectable
in package

Table of Contents

Constants

ALLOWED_EXTENSIONS  = ['csv']

Properties

$auth  : AuthComponent
$request  : Request
$storage  : mixed

Methods

__construct()  : mixed
allRequiredColumnsExists()  : array<string|int, string>
downloadSample()  : mixed
importProductListByUserId()  : mixed
removeCsvSemicolons()  : mixed
saveToCloud()  : mixed

Constants

Properties

Methods

allRequiredColumnsExists()

public static allRequiredColumnsExists(mixed $path) : array<string|int, string>
Parameters
$path : mixed
Return values
array<string|int, string>

importProductListByUserId()

public importProductListByUserId(int $userId) : mixed
Parameters
$userId : int

removeCsvSemicolons()

public removeCsvSemicolons(mixed $path) : mixed
Parameters
$path : mixed

saveToCloud()

public saveToCloud(mixed $path, mixed $userId, mixed $filename) : mixed
Parameters
$path : mixed
$userId : mixed
$filename : mixed

        
On this page

Search results