Bitrix API

ResizedImage extends BFile

Table of Contents

Methods

__construct()  : mixed
createByFileData()  : mixed
createByFileId()  : mixed
createByImageData()  : mixed
createByImageId()  : mixed
getCacheTime()  : int
getContentType()  : string
getFile()  : array<string|int, mixed>
getFilters()  : mixed
getHeight()  : mixed
getImage()  : array<string|int, mixed>
getName()  : null
getPath()  : mixed
getResizeType()  : int
getWidth()  : mixed
isShowInline()  : bool
send()  : mixed
setCacheTime()  : File
setContentType()  : File
setFilters()  : ResizedImage
setHeight()  : ResizedImage
setName()  : File
setPath()  : File
setResizeType()  : ResizedImage
setWidth()  : ResizedImage
showInline()  : File

Methods

__construct()

public __construct(array<string|int, mixed> $file, mixed $width, mixed $height[, mixed $name = null ]) : mixed
Parameters
$file : array<string|int, mixed>
$width : mixed
$height : mixed
$name : mixed = null

createByFileData()

public static createByFileData(array<string|int, mixed> $file[, mixed $name = null ]) : mixed
Parameters
$file : array<string|int, mixed>
$name : mixed = null

createByFileId()

public static createByFileId(mixed $fileId[, mixed $name = null ]) : mixed
Parameters
$fileId : mixed
$name : mixed = null

createByImageData()

public static createByImageData(array<string|int, mixed> $imageData, mixed $width, mixed $height[, mixed $name = null ]) : mixed
Parameters
$imageData : array<string|int, mixed>
$width : mixed
$height : mixed
$name : mixed = null

createByImageId()

public static createByImageId(mixed $imageId, mixed $width, mixed $height[, mixed $name = null ]) : mixed
Parameters
$imageId : mixed
$width : mixed
$height : mixed
$name : mixed = null

getCacheTime()

public getCacheTime() : int
Return values
int

getContentType()

public getContentType() : string
Return values
string

getFile()

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

getImage()

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

getName()

public getName() : null
Return values
null

getPath()

public getPath() : mixed

getResizeType()

public getResizeType() : int
Return values
int

isShowInline()

public isShowInline() : bool
Return values
bool

send()

public send() : mixed

setCacheTime()

public setCacheTime(int $cacheTime) : File
Parameters
$cacheTime : int
Return values
File

setContentType()

public setContentType(string $contentType) : File
Parameters
$contentType : string
Return values
File

setName()

public setName(null $name) : File
Parameters
$name : null
Return values
File

setPath()

public setPath(mixed $path) : File
Parameters
$path : mixed
Return values
File

showInline()

public showInline(bool $enabled) : File
Parameters
$enabled : bool
Return values
File

        
On this page

Search results