1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс BaseIblockElementEntity
Граф наследования:BaseIblockElementEntity:
BaseEntity HasPropertyCollection HasImageCollection BaseProduct BaseSku Product SimpleSku Sku

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

 __construct (IblockInfo $iblockInfo, RepositoryContract $repository, PropertyRepositoryContract $propertyRepository, ImageRepositoryContract $imageRepository)
 getIblockInfo ()
 getPropertyCollection ()
 setPropertyCollection (PropertyCollection $propertyCollection)
 getImageCollection ()
 getFrontImageCollection ()
 setImageCollection (ImageCollection $imageCollection)
 getIblockId ()
 setIblockId (int $iblockId)
 setField (string $name, $value)
 setType (int $type)
 getType ()
 isSimple ()
 allowConvertToSku ()
 setActive (bool $active)
 isActive ()
 setName ($name)
 getName ()
 hasName ()
 getDetailUrl ()
 saveInternal ()
Открытые члены унаследованные от BaseEntity
 __construct (RepositoryContract $repository=null)
 initFields (array $fields)
 setParentCollection (?BaseCollection $collection)
 getParentCollection ()
 getParent ()
 getHash ()
 setFieldNoDemand (string $name, $value)
 hasField (string $name)
 getField (string $name)
 setFields (array $fields)
 getFields ()
 getChangedFields ()
 hasChangedFields ()
 isChanged ()
 isNew ()
 getId ()
 setId (int $id)
 remove ()
 save ()
 deleteInternal ()
 clearChangedFields ()

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

 loadPropertyCollection ()
 unsetPropertyCollection ()
 loadImageCollection ()
 unsetImageCollection ()
 getFieldsMap ()
Защищенные члены унаследованные от BaseEntity
 getFieldStorage ()
 createFieldStorage ()
 saveInternalEntity ()
 getChildCollections (bool $initCollections=false)

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

 $iblockInfo
 $propertyRepository
 $propertyCollection
 $imageRepository
 $imageCollection
Защищенные данные унаследованные от BaseEntity
 $entityRepository

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

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

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

◆ __construct()

__construct ( IblockInfo $iblockInfo,
RepositoryContract $repository,
PropertyRepositoryContract $propertyRepository,
ImageRepositoryContract $imageRepository )

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

Методы

◆ allowConvertToSku()

allowConvertToSku ( )

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

◆ getDetailUrl()

getDetailUrl ( )

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

◆ getFieldsMap()

getFieldsMap ( )
protected

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

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

◆ getFrontImageCollection()

getFrontImageCollection ( )
Возвращает
ImageCollection|\Bitrix\Catalog\v2\Image\BaseImage[]

Переопределяется в BaseSku.

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

◆ getIblockId()

getIblockId ( )

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

◆ getIblockInfo()

getIblockInfo ( )
Возвращает
\Bitrix\Catalog\v2\Iblock\IblockInfo

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

◆ getImageCollection()

getImageCollection ( )
Возвращает
ImageCollection|\Bitrix\Catalog\v2\Image\BaseImage[]

Замещает HasImageCollection.

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

◆ getName()

getName ( )

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

◆ getPropertyCollection()

getPropertyCollection ( )
Возвращает
\Bitrix\Catalog\v2\Property\PropertyCollection|\Bitrix\Catalog\v2\Property\Property[]

Замещает HasPropertyCollection.

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

◆ getType()

getType ( )

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

◆ hasName()

hasName ( )

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

◆ isActive()

isActive ( )

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

◆ isSimple()

isSimple ( )

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

◆ loadImageCollection()

loadImageCollection ( )
protected
Возвращает
ImageCollection|\Bitrix\Catalog\v2\Image\BaseImage[]

Переопределяется в SimpleSku.

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

◆ loadPropertyCollection()

loadPropertyCollection ( )
protected
Возвращает
\Bitrix\Catalog\v2\Property\PropertyCollection|\Bitrix\Catalog\v2\Property\Property[]

Переопределяется в SimpleSku.

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

◆ saveInternal()

saveInternal ( )

ToDo is it a BaseEntity method? do all children need it? e.g. Property - doesn't

Возвращает
\Bitrix\Main\Result

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

Переопределяется в BaseProduct.

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

◆ setActive()

setActive ( bool $active)

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

◆ setField()

setField ( string $name,
$value )

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

Переопределяется в BaseProduct.

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

◆ setIblockId()

setIblockId ( int $iblockId)

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

◆ setImageCollection()

setImageCollection ( ImageCollection $imageCollection)
Аргументы
ImageCollection$imageCollection
Возвращает
$this

Замещает HasImageCollection.

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

◆ setName()

setName ( $name)

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

◆ setPropertyCollection()

setPropertyCollection ( PropertyCollection $propertyCollection)
Аргументы
\Bitrix\Catalog\v2\Property\PropertyCollection$propertyCollection
Возвращает
$this

Замещает HasPropertyCollection.

Переопределяется в SimpleSku.

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

◆ setType()

setType ( int $type)

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

◆ unsetImageCollection()

unsetImageCollection ( )
protected
Возвращает
$this

Переопределяется в SimpleSku.

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

◆ unsetPropertyCollection()

unsetPropertyCollection ( )
protected
Возвращает
$this

Переопределяется в SimpleSku.

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

Поля

◆ $iblockInfo

$iblockInfo
protected

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

◆ $imageCollection

$imageCollection
protected

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

◆ $imageRepository

$imageRepository
protected

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

◆ $propertyCollection

$propertyCollection
protected

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

◆ $propertyRepository

$propertyRepository
protected

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


Объявления и описания членов класса находятся в файле: