Bitrix API

Listener extends Base

Class Base

Table of Contents

Constants

REQUEST_METHOD_GET  = 'GET'
REQUEST_METHOD_POST  = 'POST'

Methods

__construct()  : mixed
Controller constructor.
addAction()  : $this
Add action.
addChecker()  : $this
Add checker.
addResponseModifier()  : $this
Add response modifier.
call()  : mixed
Call.
create()  : static
Create instance.
getCheckers()  : array<string|int, mixed>
Get checkers.
getErrorCollection()  : ErrorCollection
Get error collection.
getResponseModifiers()  : array<string|int, mixed>
Get response modifiers.
run()  : mixed
Run.
setActions()  : $this
Set actions.
setCheckers()  : $this
Set checkers.
setResponseModifiers()  : $this
Set response modifiers.

Constants

REQUEST_METHOD_GET

public mixed REQUEST_METHOD_GET = 'GET'

REQUEST_METHOD_POST

public mixed REQUEST_METHOD_POST = 'POST'

Methods

__construct()

Controller constructor.

public __construct() : mixed

addAction()

Add action.

public addAction(Action $action) : $this
Parameters
$action : Action

Action.

Return values
$this

addChecker()

Add checker.

public addChecker(callable $checker) : $this
Parameters
$checker : callable

Checker.

Tags
throws
ArgumentException
Return values
$this

addResponseModifier()

Add response modifier.

public addResponseModifier(callable $modifier) : $this
Parameters
$modifier : callable

Modifier.

Tags
throws
ArgumentException
Return values
$this

call()

Call.

public static call(callable $callee[, array<string|int, mixed> $parameters = array() ]) : mixed
Parameters
$callee : callable

Callee.

$parameters : array<string|int, mixed> = array()

Parameters.

Tags
throws
ArgumentException

create()

Create instance.

public static create() : static
Return values
static

getCheckers()

Get checkers.

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

getErrorCollection()

Get error collection.

public getErrorCollection() : ErrorCollection
Return values
ErrorCollection

getResponseModifiers()

Get response modifiers.

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

setActions()

Set actions.

public setActions(array<string|int, Action$actions) : $this
Parameters
$actions : array<string|int, Action>

Actions.

Return values
$this

setCheckers()

Set checkers.

public setCheckers(array<string|int, callable> $checkers) : $this
Parameters
$checkers : array<string|int, callable>

Checkers.

Return values
$this

setResponseModifiers()

Set response modifiers.

public setResponseModifiers(array<string|int, callable> $modifiers) : $this
Parameters
$modifiers : array<string|int, callable>

Modifiers.

Return values
$this

        
On this page

Search results