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

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

 getTypesAction (string $moduleId, \CRestServer $restServer=null)
 preparePublicData (array $field)
 getAction (string $moduleId, int $id, \CRestServer $restServer=null)
 listAction (string $moduleId, array $select=[' *'], array $order=[], array $filter=[], PageNavigation $pageNavigation=null, \CRestServer $restServer=null)
 addAction (string $moduleId, array $field, \CRestServer $restServer=null)
 updateAction (string $moduleId, int $id, array $field, \CRestServer $restServer=null)
 deleteAction (string $moduleId, int $id, \CRestServer $restServer=null)
Открытые члены унаследованные от 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)

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

 getDefaultPreFilters ()
 getAccess (string $moduleId, ?\CRestServer $restServer=null)
 processAfterAction (Action $action, $result)
 getEmptyModuleIdError ()
 getReadAccessDeniedError ()
 getAddAccessDeniedError ()
 getUpdateAccessDeniedError ()
 getDeleteAccessDeniedError ()
 getCommonError ()
 prepareFields (array $fields)
 fillErrorsFromApplication ()
 prepareEnums (array $newEnums, array $currentEnums)
 updateEnums (int $id, array $enums, array $currentEnums=[])
Защищенные члены унаследованные от Controller
 init ()
 getFilePath ()
 processUnsignedParameters ()
 getSaltToUnsign ()
 getActionResponse (Action $action)
 writeToLogException (\Throwable $e)
 collectDebugInfo ()
 logDebugInfo ()
 prepareParams ()
 processBeforeAction (Action $action)
 triggerOnBeforeAction (Action $action)
 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

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

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

Методы

◆ addAction()

addAction ( string $moduleId,
array $field,
\CRestServer $restServer = null )

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

◆ deleteAction()

deleteAction ( string $moduleId,
int $id,
\CRestServer $restServer = null )

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

◆ fillErrorsFromApplication()

fillErrorsFromApplication ( )
protected

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

◆ getAccess()

getAccess ( string $moduleId,
?\CRestServer $restServer = null )
protected

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

◆ getAction()

getAction ( string $moduleId,
int $id,
\CRestServer $restServer = null )

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

◆ getAddAccessDeniedError()

getAddAccessDeniedError ( )
protected

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

◆ getCommonError()

getCommonError ( )
protected

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

◆ getDefaultPreFilters()

getDefaultPreFilters ( )
protected

Returns default pre-filters for action.

Возвращает
array

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

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

◆ getDeleteAccessDeniedError()

getDeleteAccessDeniedError ( )
protected

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

◆ getEmptyModuleIdError()

getEmptyModuleIdError ( )
protected

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

◆ getReadAccessDeniedError()

getReadAccessDeniedError ( )
protected

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

◆ getTypesAction()

getTypesAction ( string $moduleId,
\CRestServer $restServer = null )

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

◆ getUpdateAccessDeniedError()

getUpdateAccessDeniedError ( )
protected

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

◆ listAction()

listAction ( string $moduleId,
array $select = ['*'],
array $order = [],
array $filter = [],
PageNavigation $pageNavigation = null,
\CRestServer $restServer = null )

@noinspection CallableParameterUseCaseInTypeContextInspection

@noinspection CallableParameterUseCaseInTypeContextInspection

@noinspection CallableParameterUseCaseInTypeContextInspection

@noinspection CallableParameterUseCaseInTypeContextInspection

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

◆ prepareEnums()

prepareEnums ( array $newEnums,
array $currentEnums )
protected

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

◆ prepareFields()

prepareFields ( array $fields)
protected

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

◆ preparePublicData()

preparePublicData ( array $field)

@noinspection CallableParameterUseCaseInTypeContextInspection

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

◆ processAfterAction()

processAfterAction ( Action $action,
$result )
protected

Common operations after process action. If the method returns void or null it means that we don't want to modify $result.

Аргументы
Action$action
$result
Возвращает
HttpResponse|mixed|void

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

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

◆ updateAction()

updateAction ( string $moduleId,
int $id,
array $field,
\CRestServer $restServer = null )

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

◆ updateEnums()

updateEnums ( int $id,
array $enums,
array $currentEnums = [] )
protected

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


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