Bitrix API

DiskFile extends Type

FinalYes

Table of Contents

Methods

cancelCloneValue()  : mixed
cloneValue()  : array<string|int, mixed>|mixed
Clone value of $fromField, converting to a representation of $toField
getClass()  : static
getDefaultValueSingle()  : mixed

Methods

cancelCloneValue()

public static cancelCloneValue(mixed $value, array<string|int, mixed> $fromField, array<string|int, mixed> $toField[, mixed $userId = false ]) : mixed
Parameters
$value : mixed
$fromField : array<string|int, mixed>
$toField : array<string|int, mixed>
$userId : mixed = false

cloneValue()

Clone value of $fromField, converting to a representation of $toField

public static cloneValue(mixed $value, array<string|int, mixed> &$entityData, array<string|int, mixed> $fromField, array<string|int, mixed> $toField[, mixed $userId = 0 ][, array<string|int, mixed> $parameters = array() ]) : array<string|int, mixed>|mixed
Parameters
$value : mixed

User field value to be cloned

$entityData : array<string|int, mixed>

Entity data that may be modified by this type of user field

$fromField : array<string|int, mixed>

Source field structure

$toField : array<string|int, mixed>

Destination field structure

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

Source field structure

Return values
array<string|int, mixed>|mixed

getClass()

public static getClass(mixed $dataType) : static
Parameters
$dataType : mixed
Tags
throws
ArgumentException
Return values
static

string

getDefaultValueSingle()

public static getDefaultValueSingle(array<string|int, mixed> $field) : mixed
Parameters
$field : array<string|int, mixed>

        
On this page

Search results