Bitrix API

Scope extends Base

Table of Contents

Constants

AJAX  = 0b1
ALL  = 0b111
CLI  = 0b100
NOT_AJAX  = self::ALL & ~self::AJAX
NOT_CLI  = self::ALL & ~self::CLI
NOT_REST  = self::ALL & ~self::REST
REST  = 0b10

Methods

__construct()  : mixed
Constructor Controller.
bindAction()  : mixed
className()  : string
Returns the fully qualified name of this class.
getAction()  : Action
getErrorByCode()  : Error
Getting once error with the necessary code.
getErrors()  : array<string|int, Error>
Getting array of errors.
listAllowedScopes()  : array<string|int, mixed>
List allowed values of scopes where the filter should work.
onAfterAction()  : mixed
onBeforeAction()  : mixed

Constants

AJAX

public mixed AJAX = 0b1

ALL

public mixed ALL = 0b111

CLI

public mixed CLI = 0b100

NOT_AJAX

public mixed NOT_AJAX = self::ALL & ~self::AJAX

NOT_CLI

public mixed NOT_CLI = self::ALL & ~self::CLI

NOT_REST

public mixed NOT_REST = self::ALL & ~self::REST

REST

public mixed REST = 0b10

Methods

__construct()

Constructor Controller.

public __construct(mixed $scopes) : mixed
Parameters
$scopes : mixed

bindAction()

public final bindAction(Action $action) : mixed
Parameters
$action : Action

className()

Returns the fully qualified name of this class.

public final static className() : string
Return values
string

getErrorByCode()

Getting once error with the necessary code.

public final getErrorByCode(string $code) : Error
Parameters
$code : string

Code of error.

Return values
Error

getErrors()

Getting array of errors.

public final getErrors() : array<string|int, Error>
Return values
array<string|int, Error>

listAllowedScopes()

List allowed values of scopes where the filter should work.

public listAllowedScopes() : array<string|int, mixed>
Return values
array<string|int, mixed>

onAfterAction()

public onAfterAction(Event $event) : mixed
Parameters
$event : Event

onBeforeAction()

public onBeforeAction(Event $event) : mixed
Parameters
$event : Event

        
On this page

Search results