ProductRowActionsProvider extends ElementRowActionsProvider
Table of Contents
Properties
Methods
- __construct() : mixed
- getIblockRightsChecker() : ProductRightsChecker
- getSettings() : ElementSettings
- prepareActions() : array<string|int, Action>
- prepareControls() : array<string|int, mixed>
- Gets row's context menu controls for all actions.
Properties
$settings
public
ProductSettings
$settings
Methods
__construct()
public
__construct(ProductSettings $settings, ProductRightsChecker $rights) : mixed
Parameters
- $settings : ProductSettings
-
if not used, may be
null
- $rights : ProductRightsChecker
getIblockRightsChecker()
public
getIblockRightsChecker() : ProductRightsChecker
Return values
ProductRightsCheckergetSettings()
public
getSettings() : ElementSettings
Return values
ElementSettingsprepareActions()
public
prepareActions() : array<string|int, Action>
Return values
array<string|int, Action>prepareControls()
Gets row's context menu controls for all actions.
public
prepareControls(array<string|int, mixed> $rawFields) : array<string|int, mixed>
Parameters
- $rawFields : array<string|int, mixed>