1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс ProductSelector
Граф наследования:ProductSelector:
JsonController Controller Errorable Controllerable

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

 configureActions ()
 getProductIdByBarcodeAction ($barcode)
 getProductAction (int $productId, array $options=[])
 isActiveSku (BaseSku $sku)
 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 ()
 hasErrors ()
 getErrorByCode ($code)

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

 init ()
 getDefaultPreFilters ()
 processBeforeAction (Action $action)
Защищенные члены унаследованные от Controller
 getFilePath ()
 processUnsignedParameters ()
 getSaltToUnsign ()
 getActionResponse (Action $action)
 writeToLogException (\Throwable $e)
 collectDebugInfo ()
 logDebugInfo ()
 prepareParams ()
 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)
 runProcessingValidationException (ValidationException $e)
 buildErrorFromException (\Exception $e)
 buildErrorFromPhpError (\Error $error)
 runProcessingIfUserNotAuthorized ()
 runProcessingIfInvalidCsrfToken ()
 addError (Error $error)
 addErrors (array $errors)
 renderComponent (string $name, string $template='', array $params=[], bool $withSiteTemplate=true)
 renderView (string $viewPath, array $params=[], bool $withSiteTemplate=true)
 renderExtension (string $extension, array $params=[], bool $withSiteTemplate=true)

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

Открытые статические члены унаследованные от 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 строка 1141

◆ getFileInputAction()

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

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

◆ 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 строка 1199

◆ getSkuTreePropertiesAction()

getSkuTreePropertiesAction ( int $iblockId)

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

◆ init()

init ( )
protected

@inheritDoc

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

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

◆ isActiveSku()

isActiveSku ( BaseSku $sku)

Filter for select first active offer.

Аргументы
BaseSku$sku
Возвращает
bool

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

◆ isInstalledMobileAppAction()

isInstalledMobileAppAction ( )

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

◆ 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 строка 706


Объявления и описания членов класса находятся в файле: