Bitrix API

FileData

Table of Contents

Methods

__construct()  : mixed
getContentType()  : string
getHeight()  : int
getName()  : string
getSize()  : int
getWidth()  : int
isImage()  : bool
isVideo()  : bool
setHeight()  : void
setName()  : void
setWidth()  : void

Methods

__construct()

public __construct(string $name, string $contentType, int $size) : mixed
Parameters
$name : string
$contentType : string
$size : int

getContentType()

public getContentType() : string
Return values
string

getHeight()

public getHeight() : int
Return values
int

getName()

public getName() : string
Return values
string

getSize()

public getSize() : int
Return values
int

getWidth()

public getWidth() : int
Return values
int

isImage()

public isImage() : bool
Return values
bool

isVideo()

public isVideo() : bool
Return values
bool

setHeight()

public setHeight(int $height) : void
Parameters
$height : int

setName()

public setName(string $name) : void
Parameters
$name : string

setWidth()

public setWidth(int $width) : void
Parameters
$width : int

        
On this page

Search results