Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс ResizedImage
+ Граф наследования:ResizedImage:

Открытые члены

 __construct (array $file, $width, $height, $name=null)
 
 getWidth ()
 
 setWidth ($width)
 
 getHeight ()
 
 setHeight ($height)
 
 getResizeType ()
 
 setResizeType ($resizeType)
 
 getFilters ()
 
 setFilters ($filters)
 
 getImage ()
 
- Открытые члены унаследованные от BFile
 __construct (array $file, $name=null)
 
 getFile ()
 
- Открытые члены унаследованные от File
 __construct ($path, $name=null, $contentType='application/octet-stream')
 
 getPath ()
 
 setPath ($path)
 
 getName ()
 
 setName ($name)
 
 getContentType ()
 
 setContentType ($contentType)
 
 isShowInline ()
 
 showInline ($enabled)
 
 getCacheTime ()
 
 setCacheTime ($cacheTime)
 
 send ()
 
- Открытые члены унаследованные от HttpResponse
 __construct ()
 
 flush ($text='')
 
 addHeader ($name, $value='')
 
 setHeaders (Web\HttpHeaders $headers)
 
 addCookie (Web\Cookie $cookie, $replace=true, $checkExpires=true)
 
 allowPersistentCookies ($mode)
 
 getCookies ()
 
 getHeaders ()
 
 setStatus ($status)
 
 getStatus ()
 
 setLastModified (Type\DateTime $time)
 
 redirectTo ($url)
 
 copyHeadersTo (HttpResponse $response)
 
- Открытые члены унаследованные от Response
 clear ()
 
 setContent ($content)
 
 appendContent ($content)
 
 getContent ()
 

Открытые статические члены

static createByImageId ($imageId, $width, $height, $name=null)
 
static createByImageData (array $imageData, $width, $height, $name=null)
 
- Открытые статические члены унаследованные от BFile
static createByFileData (array $file, $name=null)
 
static createByFileId ($fileId, $name=null)
 

Защищенные члены

 prepareFile ()
 
- Защищенные члены унаследованные от BFile
 prepareOptions ()
 
- Защищенные члены унаследованные от HttpResponse
 flushStatus ()
 
 flushHeader ($header)
 
 setCookie (Web\Cookie $cookie)
 
 getServerProtocol ()
 
- Защищенные члены унаследованные от Response
 checkContent ($content)
 
 writeBody ($text)
 

Защищенные данные

 $showInline = true
 
 $width
 
 $height
 
 $resizeType = BX_RESIZE_IMAGE_EXACT
 
 $filters
 
- Защищенные данные унаследованные от BFile
 $file
 
- Защищенные данные унаследованные от File
 $path
 
 $name
 
 $contentType
 
 $showInline = false
 
 $cacheTime = 0
 
- Защищенные данные унаследованные от HttpResponse
 $cookies = []
 
 $headers
 
 $lastModified
 
- Защищенные данные унаследованные от Response
 $content
 

Дополнительные унаследованные члены

- Открытые атрибуты унаследованные от HttpResponse
const STORE_COOKIE_NAME = 'STORE_COOKIES'
 

Подробное описание

См. определение в файле resizedimage.php строка 8

Конструктор(ы)

◆ __construct()

__construct ( array $file,
$width,
$height,
$name = null )

См. определение в файле resizedimage.php строка 16

Методы

◆ createByImageData()

static createByImageData ( array $imageData,
$width,
$height,
$name = null )
static

См. определение в файле resizedimage.php строка 35

◆ createByImageId()

static createByImageId ( $imageId,
$width,
$height,
$name = null )
static

См. определение в файле resizedimage.php строка 24

◆ getFilters()

getFilters ( )
Возвращает
mixed

См. определение в файле resizedimage.php строка 103

◆ getHeight()

getHeight ( )
Возвращает
mixed

См. определение в файле resizedimage.php строка 63

◆ getImage()

getImage ( )
Возвращает
array

См. определение в файле resizedimage.php строка 123

◆ getResizeType()

getResizeType ( )
Возвращает
int

См. определение в файле resizedimage.php строка 83

◆ getWidth()

getWidth ( )
Возвращает
mixed

См. определение в файле resizedimage.php строка 43

◆ prepareFile()

prepareFile ( )
protected
Возвращает
array|bool|null

Переопределяет метод предка BFile.

См. определение в файле resizedimage.php строка 128

◆ setFilters()

setFilters ( $filters)
Аргументы
mixed$filters
Возвращает
ResizedImage

См. определение в файле resizedimage.php строка 113

◆ setHeight()

setHeight ( $height)
Аргументы
mixed$height
Возвращает
ResizedImage

См. определение в файле resizedimage.php строка 73

◆ setResizeType()

setResizeType ( $resizeType)
Аргументы
int$resizeType
Возвращает
ResizedImage

См. определение в файле resizedimage.php строка 93

◆ setWidth()

setWidth ( $width)
Аргументы
mixed$width
Возвращает
ResizedImage

См. определение в файле resizedimage.php строка 53

Данные класса

◆ $filters

$filters
protected

См. определение в файле resizedimage.php строка 14

◆ $height

$height
protected

См. определение в файле resizedimage.php строка 12

◆ $resizeType

$resizeType = BX_RESIZE_IMAGE_EXACT
protected

См. определение в файле resizedimage.php строка 13

◆ $showInline

$showInline = true
protected

См. определение в файле resizedimage.php строка 10

◆ $width

$width
protected

См. определение в файле resizedimage.php строка 11