1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Base
Граф наследования:Base:
Errorable RestrictCollabUser RestrictExternalUser ValidateEventCategoryCreate ValidateEventCategoryUpdate ValidateSetMuteEventCategory Feature ValidateGetOpenEventList ValidateSetEventAttendeeStatus ValidateSetEventsWatched Authorization DiskFolderAccessCheck ActionUuidHandler AuthorizationPrefilter AutoJoinToChat ChatTypeFilter CheckActionAccess CheckAvatarId CheckAvatarIdInFields CheckChatAccess CheckChatAddParams CheckChatCanPost CheckChatManageMessages CheckChatManageUpdate CheckChatOwner CheckChatUpdate CheckDisappearingDuration CheckDiskFileAccess CheckFileAccess CheckMessageDisappearingDuration CheckMessageSend CheckNotifyGroupAccess DiskQuickAccessGrantor ExtendPullWatchPrefilter PlatformContext SameChatMessageFilter SettingsCheckAccess StartIdFilter UpdateStatus Extranet Authentication CloseSession ClosureWrapper ContentType Cors Csrf HttpMethod PostDecode Scope Token Authorization ParametersUnpacking Base CheckWritePermission BooleanPostFilter FeatureFilter IntranetUserFilter AhaMoment Chat ContentView Livefeed BlogPost Important Comment LogEntry Space StressLevel UserToGroup Workgroup CheckPermission CheckAttachReadAccess

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

 __construct ()
 bindAction (Action $action)
 getAction ()
 listAllowedScopes ()
 onBeforeAction (Event $event)
 onAfterAction (Event $event)
 getErrors ()
 getErrorByCode ($code)

Открытые статические члены

static className ()

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

 addError (Error $error)
 addErrors (array $errors)

Защищенные данные

 $errorCollection
 $action

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

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

Конструктор(ы)

◆ __construct()

__construct ( )

Constructor Controller.

Переопределяется в CheckNotifyGroupAccess.

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

Методы

◆ addError()

addError ( Error $error)
protected

Adds error to error collection.

Аргументы
Error$errorError.
Возвращает
$this

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

◆ addErrors()

addErrors ( array $errors)
protected

Adds list of errors to error collection.

Аргументы
Error[]$errorsErrors.
Возвращает
$this

Переопределяется в ValidateEventCategoryCreate.

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

◆ bindAction()

bindAction ( Action $action)
final

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

◆ className()

className ( )
staticfinal

Returns the fully qualified name of this class.

Возвращает
string

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

◆ getAction()

getAction ( )
final
Возвращает
Action

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

◆ getErrorByCode()

getErrorByCode ( $code)
final

Getting once error with the necessary code.

Аргументы
string$codeCode of error.
Возвращает
Error

Замещает Errorable.

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

◆ getErrors()

getErrors ( )
final

Getting array of errors.

Возвращает
Error[]

Замещает Errorable.

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

◆ listAllowedScopes()

listAllowedScopes ( )

List allowed values of scopes where the filter should work.

Возвращает
array

Переопределяется в Csrf, HttpMethod и Base.

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

◆ onAfterAction()

onAfterAction ( Event $event)

Переопределяется в ClosureWrapper.

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

◆ onBeforeAction()

Поля

◆ $action

$action
protected

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

◆ $errorCollection

$errorCollection
protected

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


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/main/lib/engine/actionfilter/base.php