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

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

 __construct (IblockInfo $iblockInfo, SkuRepositoryContract $skuRepository, PropertyRepositoryContract $propertyRepository, ImageRepositoryContract $imageRepository, PriceRepositoryContract $priceRepository, MeasureRatioRepositoryContract $measureRatioRepository, BarcodeRepositoryContract $barcodeRepository, StoreProductRepositoryContract $storeProductRepository)
 
 setParentCollection (?BaseCollection $collection)
 
 saveInternalEntity ()
 
- Открытые члены унаследованные от BaseSku
 getFrontImageCollection ()
 
 getPriceCollection ()
 
 setPriceCollection (PriceCollection $priceCollection)
 
 getMeasureRatioCollection ()
 
 setMeasureRatioCollection (MeasureRatioCollection $measureRatioCollection)
 
 getBarcodeCollection ()
 
 setBarcodeCollection (BarcodeCollection $barcodeCollection)
 
 getStoreProductCollection ()
 
 setStoreProductCollection (StoreProductCollection $storeProductCollection)
 
- Открытые члены унаследованные от BaseIblockElementEntity
 __construct (IblockInfo $iblockInfo, RepositoryContract $repository, PropertyRepositoryContract $propertyRepository, ImageRepositoryContract $imageRepository)
 
 getIblockInfo ()
 
 getPropertyCollection ()
 
 setPropertyCollection (PropertyCollection $propertyCollection)
 
 getImageCollection ()
 
 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)
 
 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 ()
 

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

 linkProduct (BaseProduct $product)
 
 unlinkProduct ()
 
 getProductLinkProperty ()
 
 setProductLinkProperty (int $productId)
 
 unsetProductLinkProperty ()
 
- Защищенные члены унаследованные от BaseSku
 loadPriceCollection ()
 
 loadMeasureRatioCollection ()
 
 loadBarcodeCollection ()
 
 loadStoreProductCollection ()
 
- Защищенные члены унаследованные от BaseIblockElementEntity
 loadPropertyCollection ()
 
 unsetPropertyCollection ()
 
 loadImageCollection ()
 
 unsetImageCollection ()
 
 getFieldsMap ()
 
- Защищенные члены унаследованные от BaseEntity
 getFieldStorage ()
 
 createFieldStorage ()
 
 getChildCollections (bool $initCollections=false)
 

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

- Защищенные данные унаследованные от BaseSku
 $priceCollection
 
 $priceRepository
 
 $measureRatioRepository
 
 $measureRatioCollection
 
 $barcodeRepository
 
 $barcodeCollection
 
 $storeProductRepository
 
 $storeProductCollection
 
- Защищенные данные унаследованные от BaseIblockElementEntity
 $iblockInfo
 
 $propertyRepository
 
 $propertyCollection
 
 $imageRepository
 
 $imageCollection
 
- Защищенные данные унаследованные от BaseEntity
 $entityRepository
 

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

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

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

◆ __construct()

__construct ( IblockInfo $iblockInfo,
SkuRepositoryContract $skuRepository,
PropertyRepositoryContract $propertyRepository,
ImageRepositoryContract $imageRepository,
PriceRepositoryContract $priceRepository,
MeasureRatioRepositoryContract $measureRatioRepository,
BarcodeRepositoryContract $barcodeRepository,
StoreProductRepositoryContract $storeProductRepository )

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

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

Методы

◆ getProductLinkProperty()

getProductLinkProperty ( )
protected

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

◆ linkProduct()

linkProduct ( BaseProduct $product)
protected

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

◆ saveInternalEntity()

saveInternalEntity ( )

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

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

◆ setParentCollection()

setParentCollection ( ?BaseCollection $collection)

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

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

◆ setProductLinkProperty()

setProductLinkProperty ( int $productId)
protected

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

◆ unlinkProduct()

unlinkProduct ( )
protected

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

◆ unsetProductLinkProperty()

unsetProductLinkProperty ( )
protected

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