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

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

 getProductStoresAction (int $productId)
 createStoreAction (string $name)
Открытые члены унаследованные от 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 ()
 configureActions ()
 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

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

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

Методы

◆ createStoreAction()

createStoreAction ( string $name)

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

◆ getDefaultPreFilters()

getDefaultPreFilters ( )
protected

Returns default pre-filters for action.

Возвращает
array

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

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

◆ getProductStoresAction()

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

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

◆ init()

init ( )
protected

@inheritDoc

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

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

◆ processBeforeAction()

processBeforeAction ( Action $action)
protected

Common operations before process action.

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

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

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


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