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

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

 __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 ()
 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

Методы

◆ linkProduct()

linkProduct ( BaseProduct $product)
protected

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

◆ saveInternalEntity()

saveInternalEntity ( )

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

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

◆ setParentCollection()

setParentCollection ( ?BaseCollection $collection)

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

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

◆ setProductLinkProperty()

setProductLinkProperty ( int $productId)
protected

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

◆ unlinkProduct()

unlinkProduct ( )
protected

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

◆ unsetProductLinkProperty()

unsetProductLinkProperty ( )
protected

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


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/catalog/lib/v2/Sku/Sku.php