Bitrix API

Result extends Model

Table of Contents

Methods

__construct()  : mixed
check()  : mixed
delete()  : mixed
formatFieldsByTemplate()  : mixed
get()  : mixed
getErrors()  : mixed
getFieldsForAdd()  : mixed
getId()  : mixed
getResultEntity()  : mixed
getUrl()  : string
Get result url.
hasErrors()  : mixed
load()  : mixed
merge()  : mixed
save()  : mixed
set()  : mixed
setUrl()  : void
Set result url.

Methods

__construct()

public __construct(mixed $id[, array<string|int, mixed> $params = null ]) : mixed
Parameters
$id : mixed
$params : array<string|int, mixed> = null

delete()

public delete() : mixed

formatFieldsByTemplate()

public static formatFieldsByTemplate(array<string|int, mixed> $fields[, mixed $fieldTemplate = "%caption%%required%: %values% " ][, mixed $valueTemplate = "%value% " ][, mixed $valueListTemplate = " %value%" ][, string|null $languageId = null ]) : mixed
Parameters
$fields : array<string|int, mixed>
$fieldTemplate : mixed = "%caption%%required%: %values% "
$valueTemplate : mixed = "%value% "
$valueListTemplate : mixed = " %value%"
$languageId : string|null = null

getErrors()

public getErrors() : mixed

getFieldsForAdd()

public getFieldsForAdd() : mixed

getId()

public getId() : mixed

getResultEntity()

public getResultEntity() : mixed

getUrl()

Get result url.

public getUrl() : string
Return values
string

hasErrors()

public hasErrors() : mixed

load()

public load(mixed $id) : mixed
Parameters
$id : mixed

merge()

public merge(mixed $params) : mixed
Parameters
$params : mixed

save()

public save([mixed $onlyCheck = false ]) : mixed
Parameters
$onlyCheck : mixed = false

set()

public set(array<string|int, mixed> $params) : mixed
Parameters
$params : array<string|int, mixed>

setUrl()

Set result url.

public setUrl([string $url = null ]) : void
Parameters
$url : string = null

Url.


        
On this page

Search results