ProductProvider extends CatalogProvider
Columns provider.
Table of Contents
Methods
- __construct() : mixed
- allowedShowQuantityColumns() : bool
- getSettings() : ElementSettings
- needSummaryStoreAmountByPermissions() : bool
- Returns true, if enable inventory managment and current user not have full store access.
- prepareColumns() : array<string|int, Column>
- Provider columns.
Methods
__construct()
public
__construct(ElementSettings $settings) : mixed
Parameters
- $settings : ElementSettings
-
if not used, may be
null
allowedShowQuantityColumns()
public
static allowedShowQuantityColumns() : bool
Return values
boolgetSettings()
public
getSettings() : ElementSettings
Return values
ElementSettingsneedSummaryStoreAmountByPermissions()
Returns true, if enable inventory managment and current user not have full store access.
public
static needSummaryStoreAmountByPermissions() : bool
Return values
boolprepareColumns()
Provider columns.
public
prepareColumns() : array<string|int, Column>
Return values
array<string|int, Column> —allowed without keys.