1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
UploadRequest.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\UI\FileUploader;
4
5
class
UploadRequest
6
{
7
protected
string
$name
;
8
protected
string
$contentType
=
''
;
9
protected
int
$size
= 0;
10
protected
int
$width
= 0;
11
protected
int
$height
= 0;
12
13
public
function
__construct
(
string
$name
,
string
$contentType
,
int
$size
)
14
{
15
$this->name =
$name
;
16
$this->contentType =
$contentType
;
17
$this->
size
=
$size
;
18
}
19
20
public
function
getName
(): string
21
{
22
return
$this->name
;
23
}
24
25
public
function
getContentType
(): string
26
{
27
return
$this->contentType
;
28
}
29
30
public
function
getSize
(): int
31
{
32
return
$this->size
;
33
}
34
35
public
function
getWidth
(): int
36
{
37
return
$this->width
;
38
}
39
40
public
function
setWidth
(
int
$width
): void
41
{
42
$this->
width
=
$width
;
43
}
44
45
public
function
getHeight
(): int
46
{
47
return
$this->height
;
48
}
49
50
public
function
setHeight
(
int
$height
): void
51
{
52
$this->
height
=
$height
;
53
}
54
}
Bitrix\UI\FileUploader\UploadRequest
Определения
UploadRequest.php:6
Bitrix\UI\FileUploader\UploadRequest\$contentType
string $contentType
Определения
UploadRequest.php:8
Bitrix\UI\FileUploader\UploadRequest\setWidth
setWidth(int $width)
Определения
UploadRequest.php:40
Bitrix\UI\FileUploader\UploadRequest\$width
int $width
Определения
UploadRequest.php:10
Bitrix\UI\FileUploader\UploadRequest\getName
getName()
Определения
UploadRequest.php:20
Bitrix\UI\FileUploader\UploadRequest\$size
int $size
Определения
UploadRequest.php:9
Bitrix\UI\FileUploader\UploadRequest\$name
string $name
Определения
UploadRequest.php:7
Bitrix\UI\FileUploader\UploadRequest\getSize
getSize()
Определения
UploadRequest.php:30
Bitrix\UI\FileUploader\UploadRequest\__construct
__construct(string $name, string $contentType, int $size)
Определения
UploadRequest.php:13
Bitrix\UI\FileUploader\UploadRequest\$height
int $height
Определения
UploadRequest.php:11
Bitrix\UI\FileUploader\UploadRequest\setHeight
setHeight(int $height)
Определения
UploadRequest.php:50
Bitrix\UI\FileUploader\UploadRequest\getHeight
getHeight()
Определения
UploadRequest.php:45
Bitrix\UI\FileUploader\UploadRequest\getContentType
getContentType()
Определения
UploadRequest.php:25
Bitrix\UI\FileUploader\UploadRequest\getWidth
getWidth()
Определения
UploadRequest.php:35
height
hidden PROPERTY[<?=$propertyIndex?>][CODE]<?=htmlspecialcharsEx( $propertyCode)?> height
Определения
file_new.php:759
width
bx popup label bx width30 PAGE_NEW_MENU_NAME text width
Определения
file_new.php:677
size
font size
Определения
invoice.php:442
bitrix
modules
ui
lib
FileUploader
UploadRequest.php
Создано системой
1.14.0