Bitrix API

AddResourceCommand extends AbstractCommand

Table of Contents

Properties

$createdBy  : int
$resource  : Resource

Methods

__construct()  : mixed
getCopies()  : int|null
mapFromArray()  : self
run()  : Result
runInBackground()  : bool
runWithDelay()  : bool
toArray()  : array<string|int, mixed>

Properties

Methods

__construct()

public __construct(int $createdBy, Resource $resource[, int|null $copies = null ]) : mixed
Parameters
$createdBy : int
$resource : Resource
$copies : int|null = null

mapFromArray()

public static mapFromArray(array<string|int, mixed> $props) : self
Parameters
$props : array<string|int, mixed>
Return values
self

runInBackground()

public runInBackground() : bool
Return values
bool

runWithDelay()

public runWithDelay(int $milliseconds) : bool
Parameters
$milliseconds : int
Return values
bool

toArray()

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

        
On this page

Search results