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
__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
getContentType()
public
getContentType() : string
getFile()
public
getFile() : array<string|int, mixed>
Return values
array<string|int, mixed>
getFilters()
public
getFilters() : mixed
getHeight()
public
getHeight() : mixed
getImage()
public
getImage() : array<string|int, mixed>
Return values
array<string|int, mixed>
getName()
public
getName() : null
getPath()
public
getPath() : mixed
getResizeType()
public
getResizeType() : int
getWidth()
public
getWidth() : mixed
isShowInline()
public
isShowInline() : bool
send()
public
send() : mixed
setCacheTime()
public
setCacheTime(int $cacheTime) : File
Parameters
-
$cacheTime
: int
-
setContentType()
public
setContentType(string $contentType) : File
Parameters
-
$contentType
: string
-
setFilters()
public
setFilters(mixed $filters) : ResizedImage
Parameters
-
$filters
: mixed
-
setHeight()
public
setHeight(mixed $height) : ResizedImage
Parameters
-
$height
: mixed
-
setName()
public
setName(null $name) : File
Parameters
-
$name
: null
-
setPath()
public
setPath(mixed $path) : File
Parameters
-
$path
: mixed
-
setResizeType()
public
setResizeType(int $resizeType) : ResizedImage
Parameters
-
$resizeType
: int
-
setWidth()
public
setWidth(mixed $width) : ResizedImage
Parameters
-
$width
: mixed
-
showInline()
public
showInline(bool $enabled) : File
Parameters
-
$enabled
: bool
-