Bitrix API

RestManager

Table of Contents

Constants

DOCUMENT_FILE_TYPE_FILE  = 'file'
DOCUMENT_FILE_TYPE_IMAGE  = 'image'
DOCUMENT_FILE_TYPE_PDF  = 'pdf'

Methods

download()  : mixed
onRestGetModule()  : array<string|int, mixed>
onRestServiceBuildDescription()  : array<string|int, mixed>
upload()  : array<string|int, mixed>

Constants

DOCUMENT_FILE_TYPE_FILE

public mixed DOCUMENT_FILE_TYPE_FILE = 'file'

DOCUMENT_FILE_TYPE_IMAGE

public mixed DOCUMENT_FILE_TYPE_IMAGE = 'image'

DOCUMENT_FILE_TYPE_PDF

public mixed DOCUMENT_FILE_TYPE_PDF = 'pdf'

Methods

download()

public static download(array<string|int, mixed> $query, mixed $scope, CRestServer $restServer) : mixed
Parameters
$query : array<string|int, mixed>
$scope : mixed
$restServer : CRestServer
Tags
throws
RestException

onRestGetModule()

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

onRestServiceBuildDescription()

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

upload()

public static upload(array<string|int, mixed> $query, mixed $scope, CRestServer $restServer) : array<string|int, mixed>
Parameters
$query : array<string|int, mixed>
$scope : mixed
$restServer : CRestServer
Tags
throws
SystemException
throws
Exception
Return values
array<string|int, mixed>

        
On this page

Search results