Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Sonata
Component
Product
ProductProviderInterface
getVariatedProperties
Sonata\Component\Product\ProductProviderInterface::getVariatedProperties PHP Method
ProductProviderInterface Interface Documentation
显示文件
Open project: sonata-project/ecommerce
getVariatedProperties()
public
method
Gets the properties values of $product amongst variation fields or $fields if set.
public
getVariatedProperties
(
Sonata\Component\Product\ProductInterface
$product
,
array
$fields
= [] ) :
array
$product
Sonata\Component\Product\ProductInterface
$fields
array
return
array
public function getVariatedProperties(ProductInterface $product, array $fields = array());
ProductProviderInterface
basketAddProduct
basketMergeProduct
buildBasketElement
buildCreateForm
buildEditForm
buildForm
calculatePrice
configureShowFields
createBasketElement
createVariation
defineAddBasketForm
defineBasketElementForm
getBaseControllerName
getBasketElementManager
getCheapestEnabledVariation
getEnabledVariations
getFilters
getProductCategoryManager
getProductCollectionManager
getStockAvailable
getVariatedProperties
getVariation
getVariationsChoices
hasEnabledVariations
hasVariations
isAddableToBasket
isValidBasketElement
setBasketElementManager
setProductCategoryManager
setProductCollectionManager
synchronizeVariations
synchronizeVariationsCategories
synchronizeVariationsCollections
synchronizeVariationsDeliveries
synchronizeVariationsPackages
synchronizeVariationsProduct
updateComputationPricesFields
updateStock
validateFormBasketElement