Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Sonata
ProductBundle
Model
BaseProductProvider
setCode
Sonata\ProductBundle\Model\BaseProductProvider::setCode PHP Метод
Документация по классу BaseProductProvider
Показать файл
Открыть проект
setCode()
публичный
Метод
public
setCode
(
string
$code
)
$code
string
public function setCode($code) { $this->code = $code; }
BaseProductProvider
__construct
basketAddProduct
basketMergeProduct
buildBasketElement
buildCreateForm
buildEditForm
buildForm
calculatePrice
configureShowFields
createBasketElement
createOrderElement
createVariation
defineAddBasketForm
defineBasketElementForm
findOneById
getBasketElementManager
getCheapestEnabledVariation
getCode
getCurrencyPriceCalculator
getEnabledVariations
getEventDispatcher
getFilters
getMergedFields
getOption
getOptions
getProductCategoryManager
getProductCollectionManager
getProductFromRaw
getRawProduct
getStockAvailable
getVariatedProperties
getVariation
getVariationFields
getVariationsChoices
hasEnabledVariations
hasVariationFields
hasVariations
isAddableToBasket
isValidBasketElement
isVariateBy
reloadProduct
setBasketElementManager
setCode
setCurrencyPriceCalculator
setEventDispatcher
setOptions
setOrderElementClassName
setProductCategoryManager
setProductCollectionManager
setVariationFields
synchronizeVariations
synchronizeVariationsCategories
synchronizeVariationsCollections
synchronizeVariationsDeliveries
synchronizeVariationsPackages
synchronizeVariationsProduct
updateComputationPricesFields
updateStock
validateFormBasketElement