1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
EntityFieldImage.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Catalog\v2\Image;
4
5
use Bitrix\Catalog\v2\BaseEntity;
6
15
abstract
class
EntityFieldImage
extends
BaseImage
16
{
17
public
function
setFileStructure
(
array
$fileFields):
BaseImage
18
{
19
parent::setFileStructure($fileFields);
20
21
if
($parent = $this->
getParent
())
22
{
23
$parent->setFieldNoDemand(static::CODE, $this->
getFileStructure
());
24
}
25
26
return
$this;
27
}
28
29
public
function
setId
(
int
$id):
BaseEntity
30
{
31
if
($parent = $this->
getParent
())
32
{
33
$parent->setFieldNoDemand(static::CODE, $id);
34
}
35
36
return
parent::setId($id);
37
}
38
39
public
function
remove
():
BaseEntity
40
{
41
if
($parent = $this->
getParent
())
42
{
43
$parent->setFieldNoDemand(static::CODE,
''
);
44
}
45
46
return
parent::remove();
47
}
48
}
Bitrix\Catalog\v2\BaseEntity
Определения
BaseEntity.php:22
Bitrix\Catalog\v2\BaseEntity\getParent
getParent()
Определения
BaseEntity.php:85
Bitrix\Catalog\v2\Image\BaseImage
Определения
BaseImage.php:17
Bitrix\Catalog\v2\Image\BaseImage\getFileStructure
getFileStructure()
Определения
BaseImage.php:42
Bitrix\Catalog\v2\Image\EntityFieldImage
Определения
EntityFieldImage.php:16
Bitrix\Catalog\v2\Image\EntityFieldImage\setFileStructure
setFileStructure(array $fileFields)
Определения
EntityFieldImage.php:17
Bitrix\Catalog\v2\Image\EntityFieldImage\setId
setId(int $id)
Определения
EntityFieldImage.php:29
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
bitrix
modules
catalog
lib
v2
Image
EntityFieldImage.php
Создано системой
1.14.0