Bitrix API

Package

Table of Contents

Properties

$controlId  : string
$files  : array<string|int, mixed>

Methods

__construct()  : mixed
Package constructor.
checkPost()  : array<string|int, mixed>
Main function for uploading data.
checkTime()  : bool
getCid()  : string
getCidLog()  : Log
Returns package Log of Control Exemplar.
getCopies()  : array<string|int, mixed>
getFile()  : array<string|int, mixed>
Returns file array.
getIndex()  : string
Returns package Index.
getLog()  : array<string|int, mixed>|mixed
Returns package Log.
getPath()  : string
getStorage()  : Storable
merge()  : array<string|int, mixed>
this function just merge 2 arrays with a lot of deep keys array_merge replaces keys in second level and deeper array_merge_recursive multiplies similar keys
setCopies()  : $this
setStorage()  : $this

Properties

$controlId

public string $controlId = "fileUploader"

$files

public array<string|int, mixed> $files = array()

File

Methods

__construct()

Package constructor.

public __construct(mixed $path, mixed $CID, mixed $index) : mixed
Parameters
$path : mixed
$CID : mixed
$index : mixed
Tags
throws
ArgumentNullException
throws
NotImplementedException

checkPost()

Main function for uploading data.

public checkPost(mixed $fileLimits) : array<string|int, mixed>
Parameters
$fileLimits : mixed
Tags
throws
NotImplementedException
Return values
array<string|int, mixed>

checkTime()

public checkTime() : bool
Return values
bool

getCid()

public getCid() : string
Return values
string

getCidLog()

Returns package Log of Control Exemplar.

public getCidLog([mixed $key = null ]) : Log
Parameters
$key : mixed = null
Return values
Log

getCopies()

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

getFile()

Returns file array.

public getFile(mixed $id) : array<string|int, mixed>
Parameters
$id : mixed
Return values
array<string|int, mixed>

getIndex()

Returns package Index.

public getIndex() : string
Return values
string

getLog()

Returns package Log.

public getLog([mixed $key = null ]) : array<string|int, mixed>|mixed
Parameters
$key : mixed = null
Return values
array<string|int, mixed>|mixed

getPath()

public getPath() : string
Return values
string

merge()

this function just merge 2 arrays with a lot of deep keys array_merge replaces keys in second level and deeper array_merge_recursive multiplies similar keys

public static merge(mixed $res, mixed $res2) : array<string|int, mixed>
Parameters
$res : mixed
$res2 : mixed
Return values
array<string|int, mixed>

setCopies()

public setCopies(array<string|int, mixed> $params) : $this
Parameters
$params : array<string|int, mixed>
Return values
$this

setStorage()

public setStorage(array<string|int, mixed> $params) : $this
Parameters
$params : array<string|int, mixed>
Tags
throws
Exception
Return values
$this

        
On this page

Search results