Bitrix API

Action

Table of Contents

Methods

__construct()  : Action
Class constructor.
create()  : Action
Class constructor.
getCommand()  : string
getParameter()  : mixed
getParameters()  : array<string|int, mixed>
setCommand()  : mixed
setParameters()  : mixed
toJson()  : mixed

Methods

__construct()

Class constructor.

public __construct(string $command[, array<string|int, mixed> $parameters = [] ]) : Action
Parameters
$command : string
$parameters : array<string|int, mixed> = []
Return values
Action

create()

Class constructor.

public static create(string $command[, array<string|int, mixed> $parameters = [] ]) : Action
Parameters
$command : string
$parameters : array<string|int, mixed> = []
Return values
Action

getCommand()

public getCommand() : string
Return values
string

getParameter()

public getParameter(mixed $name) : mixed
Parameters
$name : mixed

getParameters()

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

setCommand()

public setCommand(string $command) : mixed
Parameters
$command : string

setParameters()

public setParameters(array<string|int, mixed> $parameters) : mixed
Parameters
$parameters : array<string|int, mixed>

toJson()

public toJson() : mixed

        
On this page

Search results