Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс ProductSelector
+ Граф наследования:ProductSelector:

Открытые члены

 configureActions ()
 
 getProductIdByBarcodeAction ($barcode)
 
 getProductAction (int $productId, array $options=[])
 
 updateProductAction (int $id, int $iblockId, array $updateFields)
 
 getEmptyInputImageAction (int $iblockId)
 
 getFileInputAction (int $iblockId, int $skuId=null)
 
 getSkuTreePropertiesAction (int $iblockId)
 
 getSkuSelectorItemAction (int $id, array $options)
 
 isInstalledMobileAppAction ()
 
- Открытые члены унаследованные от Controller
 __construct (Request $request=null)
 
 forward ($controller, string $actionName, array $parameters=null)
 
 getConfigurationOfActions ()
 
 getModuleId ()
 
 isLocatedUnderPsr4 ()
 
 getActionUri (string $actionName, array $params=[], bool $absolute=false)
 
 getUnsignedParameters ()
 
 getCurrentUser ()
 
 setCurrentUser (CurrentUser $currentUser)
 
 convertKeysToCamelCase ($data)
 
 listNameActions ()
 
 getAutoWiredParameters ()
 
 getPrimaryAutoWiredParameter ()
 
 getDefaultAutoWiredParameters ()
 
 getRequest ()
 
 getScope ()
 
 setScope ($scope)
 
 getSourceParametersList ()
 
 setSourceParametersList ($sourceParametersList)
 
 run ($actionName, array $sourceParametersList)
 
 finalizeResponse (Response $response)
 
 generateActionMethodName ($action)
 
 redirectTo ($url)
 
 getErrors ()
 
 getErrorByCode ($code)
 

Защищенные члены

 init ()
 
 getDefaultPreFilters ()
 
 processBeforeAction (Action $action)
 
- Защищенные члены унаследованные от Controller
 getFilePath ()
 
 processUnsignedParameters ()
 
 getSaltToUnsign ()
 
 writeToLogException (\Throwable $e)
 
 collectDebugInfo ()
 
 logDebugInfo ()
 
 prepareParams ()
 
 shouldDecodePostData (Action $action)
 
 decodePostData ()
 
 triggerOnBeforeAction (Action $action)
 
 processAfterAction (Action $action, $result)
 
 triggerOnAfterAction (Action $action, $result)
 
 create ($actionName)
 
 buildActionInstance ($actionName, array $config)
 
 existsAction ($actionName)
 
 getDefaultPostFilters ()
 
 buildFilters (array $config=null)
 
 appendFilters (array $filters, array $filtersToAppend)
 
 removeFilters (array $filters, array $filtersToRemove)
 
 detachFilters (Action $action)
 
 detachPreFilters (Action $action)
 
 detachPostFilters (Action $action)
 
 getActionConfig ($actionName)
 
 setActionConfig ($actionName, array $config=null)
 
 runProcessingThrowable (\Throwable $throwable)
 
 runProcessingException (\Exception $e)
 
 runProcessingError (\Error $error)
 
 runProcessingBinderThrowable (BinderArgumentException $e)
 
 buildErrorFromException (\Exception $e)
 
 buildErrorFromPhpError (\Error $error)
 
 runProcessingIfUserNotAuthorized ()
 
 runProcessingIfInvalidCsrfToken ()
 
 addError (Error $error)
 
 addErrors (array $errors)
 

Дополнительные унаследованные члены

- Открытые статические члены унаследованные от Controller
static className ()
 
static getFullEventName ($eventName)
 
- Открытые атрибуты унаследованные от Controller
const SCOPE_REST = 'rest'
 
const SCOPE_AJAX = 'ajax'
 
const SCOPE_CLI = 'cli'
 
const EVENT_ON_BEFORE_ACTION = 'onBeforeAction'
 
const EVENT_ON_AFTER_ACTION = 'onAfterAction'
 
const ERROR_REQUIRED_PARAMETER = 'MAIN_CONTROLLER_22001'
 
const ERROR_UNKNOWN_ACTION = 'MAIN_CONTROLLER_22002'
 
const EXCEPTION_UNKNOWN_ACTION = 22002
 
- Открытые атрибуты унаследованные от Controllerable
const METHOD_ACTION_SUFFIX = 'Action'
 
- Защищенные данные унаследованные от Controller
 $errorCollection
 
 $request
 
Configurator $configurator
 

Подробное описание

См. определение в файле productselector.php строка 41

Методы

◆ configureActions()

configureActions ( )
Возвращает
array

Переопределяет метод предка Controller.

См. определение в файле productselector.php строка 57

◆ getDefaultPreFilters()

getDefaultPreFilters ( )
protected

Returns default pre-filters for action.

Возвращает
array

Переопределяет метод предка JsonController.

См. определение в файле productselector.php строка 73

◆ getEmptyInputImageAction()

getEmptyInputImageAction ( int $iblockId)

См. определение в файле productselector.php строка 1100

◆ getFileInputAction()

getFileInputAction ( int $iblockId,
int $skuId = null )

См. определение в файле productselector.php строка 1115

◆ getProductAction()

getProductAction ( int $productId,
array $options = [] )
Аргументы
int$productId
array$options
Возвращает
array|null

См. определение в файле productselector.php строка 175

◆ getProductIdByBarcodeAction()

getProductIdByBarcodeAction ( $barcode)

См. определение в файле productselector.php строка 146

◆ getSkuSelectorItemAction()

getSkuSelectorItemAction ( int $id,
array $options )

См. определение в файле productselector.php строка 1158

◆ getSkuTreePropertiesAction()

getSkuTreePropertiesAction ( int $iblockId)

См. определение в файле productselector.php строка 1144

◆ init()

init ( )
protected

@inheritDoc

Переопределяет метод предка Controller.

См. определение в файле productselector.php строка 50

◆ isInstalledMobileAppAction()

isInstalledMobileAppAction ( )

См. определение в файле productselector.php строка 1189

◆ processBeforeAction()

processBeforeAction ( Action $action)
protected

Common operations before process action.

Аргументы
Action$action
Возвращает
bool If method will return false, then action will not execute.

Переопределяет метод предка Controller.

См. определение в файле productselector.php строка 84

◆ updateProductAction()

updateProductAction ( int $id,
int $iblockId,
array $updateFields )

См. определение в файле productselector.php строка 665