Bitrix API

FileList extends ContentBlock

Table of Contents

Constants

SCOPE_MOBILE  = 'mobile'
SCOPE_WEB  = 'web'

Methods

getFiles()  : array<string|int, File>|null
getNumberOfFiles()  : int
getRendererName()  : string
getScope()  : string|null
getSort()  : int|null
getTitle()  : string|null
getUpdateParams()  : array<string|int, mixed>|null
setFiles()  : $this
setScope()  : self
setScopeMobile()  : self
setScopeWeb()  : self
setSort()  : self
setTitle()  : self
setUpdateParams()  : self
toArray()  : array<string|int, mixed>

Constants

Methods

getFiles()

public getFiles() : array<string|int, File>|null
Return values
array<string|int, File>|null

getNumberOfFiles()

public getNumberOfFiles() : int
Return values
int

getRendererName()

public getRendererName() : string
Return values
string

getScope()

public getScope() : string|null
Return values
string|null

getSort()

public getSort() : int|null
Return values
int|null

getTitle()

public getTitle() : string|null
Return values
string|null

getUpdateParams()

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

setFiles()

public setFiles(array<string|int, File>|null $files) : $this
Parameters
$files : array<string|int, File>|null
Return values
$this

setScope()

public setScope(string|null $scope) : self
Parameters
$scope : string|null
Return values
self

setScopeMobile()

public setScopeMobile() : self
Return values
self

setScopeWeb()

public setScopeWeb() : self
Return values
self

setSort()

public setSort(int|null $sort) : self
Parameters
$sort : int|null
Return values
self

setTitle()

public setTitle(string|null $title) : self
Parameters
$title : string|null
Return values
self

setUpdateParams()

public setUpdateParams(array<string|int, mixed>|null $params) : self
Parameters
$params : array<string|int, mixed>|null
Return values
self

toArray()

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

        
On this page

Search results